<MAP>NN all   IE all   HTML 3.2
<MAP>...</MAP>End Tag: Required
 

A MAP element is a container for AREA elements that define the location and links of hotspots of client-side image maps. The primary purpose of the MAP element is to associate an identifier (the NAME attribute) that the USEMAP attribute points to when turning an IMG element into a client-side image map. Most other attributes are style-related and may be applied to the MAP element so that they are inherited by elements nested within.

 
Example
<IMG SRC="images/logo.gif" ALT="Scroll to the bottom for navigation links."
HEIGHT=300 WIDTH=250 USEMAP="#navigation">
<MAP NAME="navigation">
<AREA SHAPE="rect" COORDS="0,0,100,100" HREF="products.html">
<AREA SHAPE="rect" COORDS="0,100,300,100" HREF="support.html">
</MAP>
 
Object Model Reference
IE [window.]document.all.elementID
NAMENN all   IE all   HTML 3.2
NAME="identifier"Required
 

The identifier to which the USEMAP attribute of an IMG element points. Because the USEMAP attribute is actually a URL type, its value resembles that of a link to an anchor: the name is preceded by a hash symbol (only in the USEMAP attribute).

 
Example
<MAP NAME="navigation"> ...</MAP>
 
Value
Case-sensitive unique identifier.
 
Default None.
 
Object Model Reference
IE [window.]document.all.elementID.name
Hosted by uCoz