HTML Tag <MAP>
HTML Tag <MAP>
<MAP> Specifies a container for client-side image map data. Inside the <MAP> container, you place instances of the <AREA> tag.
Attribute of <MAP> Tag
CLASS
Indicates which style class applies to the element.
<MAP CLASS="dkm" NAME="Tutorial">
Possible Values
Any Class Name.
ID
Indicates an identifier to associate with the map. You can also use this to apply styles to the object.
<MAP ID="dkm" NAME="tutorial">
Possible Values
Any ID Name.
NAME
Establishes a name for the map information you can later reference by the USEMAP=.attribute of the <IMG> tag.
<MAP NAME="housemap">
<IMG SRC="house.gif" USEMAP="#housemap"
BORDER=0 ALT="Map of House">
</MAP>
Possible Values
Any Name
STYLE
Specifies Style Sheet commands that apply to the contents within the <MAP> tags.
<MAP STYLE="background: black">
Possible Values
CSS Property with Value.
TITLE
Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips.
<MAP TITLE="Tutorial Link">
Possible Values
Any Text Message.