the complete webmaster
tutorials reviews reference
ASP
CGI
FrontPage
HTML
Java
JavaScript

home / reference / html

<map></map>
class   id   name   style   title

The <map> tag is used in conjunction with an <img> tag to create a client side image map. Within an <img> tag, use the "ismap" attribute to indicate the image is an image map, and the "name" attribute to assign a name to the image map (See <img> for more information). Then use the map tag with the attributes below and the <area> tag to set up the attributes of the image map (See <area> for more information).

<map class="">

   Description
   DESCRIPTION GOES HERE
Code
   <map class="CLASSNAME"></map>

<map id="">

   Description
   The id attribute is used to assign a unique id to an image map for use within scripting functions.
Code
   <map id="MAPID"></map>

<map name="">

   Description
   The name attribute is used to match up the match tag with the corresponding <img ismap name=""> tag. Insert the same name that was inserted in the <img> tag (See <img> for more information).
Code
   <map name="MAPNAME"></map>

<map style="">

   Description
   The style attribute is for using inline style sheets with the <map> tag.
Code
   <map style="MAPSTYLE"></map>

<map title="">

   Description
   The title attribute, which only works in Internet Explorer 4.0 and above, is used to create tool tip text when the mouse hovers over the image map.
Code
   <map title="Tool Tip Text"></map>
write for us about us advertise

Copyright 1997, 1998 A Big Lime. All rights reserved.