Image Formatting in HTML
Image Formatting in HTML
IN HTML
IMAGE MAPS
The image is inserted using the <img> tag. The only difference from other images
is that you must add a usemap attribute:
• The <map> element is used to create an image map, and is linked to the
image by using the required name attribute:
• <map name="workmap">
• The name attribute must have the same value as the <img>'s usemap
attribute .
The Areas
SHAPE
You must define the shape of the clickable area, and you can choose one of these values:
Shape="rect"
The coordinates for shape="rect" come in pairs, one for the x-axis and one for the y-axis.
SUMMARY
Tag Description