<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 |
|