HTML and CSS Reference
In-Depth Information
tribute for the
<img>
tag. The HTML and XHTML standards specify five
image-alignment attribute values:
left
,
right
,
top
,
middle
, and
bottom
.
The
left
and
right
values flow any subsequent text to the left or right of
the image, which is moved to the corresponding margin (
Figure 5-11
).
The remaining three align the image vertically with respect to the sur-
rounding text.