Client side image map definition  - <MAP>   -  </MAP>

Previous- LISTING - Fixed-width type  |  Next-MARQUEE - Scrolling text

Description
Defines a client-side image map which can be used to make separate parts (hot spots) of a standard image clickable. Used in conjunction with the AREA tag to define the actual hotspot and by linking the named MAP area to the image by the use of the USEMAP attribute and the # sign infront of the map name to denote a local link within the current document. See the example!
Attributes
NameValuesDescription
classclassnameClass of the element which is used to associate the element with a style sheet.
event_namescript_codeDefines script to run on event such as OnMouseOver
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
namestringNames a tag, particularly important in client side progamming and essential when submitting form data.
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.

Example
<img border="1" src="imagemap1.gif" usemap="#imagemap1">
<map name="imagemap1">
<area shape="rect" coords="0,0,25,25" href="page2.htm" alt="go to page 2">
</map>
This example can not be displayed.
Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES YES YES YES YES YES

Previous- LISTING - Fixed-width type  |  Next-MARQUEE - Scrolling text