Attribute of <MAP> Tag
Attribute of <MAP> Tag
CLASS
Indicates which style class applies to the element.
Example:<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.
Example:<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.
Example:<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.
Example:<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.
Example:<MAP TITLE="Tutorial Link">
Possible Values
Any Text Message.