HTML and CSS Reference
images in a static Web page. Table 12.1 lists HTML image tags.
Table 12.1 HTML Image Tags
Starting tag for loading an image.
Floats the image either to the left or right side of the page, or aligns
the image with text in directions, texttop , top , middle , absmiddle ,
bottom , or absbottom .
Alternative text in case the image doesn't appear.
The width in pixels of an image border.
Height of the image in pixels.
Adds space, in pixels, to both the right and left sides of the image.
Contains the URL, location of the image relative to the document root
of the Web page.
Adds space, in pixels, to both the top and bottom of the image.
Width of the image in pixels.
Starting tag for an image map. Image maps link areas of an image with
a set of URLs. Clicking on an area of the map sends the user to that
The name of the image map.
Also the name of the image map.
Defines the clickable areas of the image map.
Describes what happens when the user clicks.
Determines the shape of a rectangle, circle, or polygon in x , y pixel
The address of the page that will appear when the user clicks in a
Assigned a type , where type represents the shape of the area.