The HTML <map></map> element was first introduced in the Client Side Image Map proposal (an HTML Working Draft from Spry). It was very quickly adopted in browsers and then in the HTML 3.2 recommendation. This element contains a grouping of shape-link identification pairs (the <area /> element) used to identify image map linking destinations with geometric regions on an image.


Attribute Value Description
name character data This attribute behaves the same as the <a> element's name attribute in defining a destination within a document. It specifies the map location within a file for reference by the <img /> usemap attribute. They are referenced in the <img /> usemap attribute as either #mapname (map is in the current file) or file/name#mapname (map location is in an external file) as appropriate.
Global Attributes

See Global HTML Attributes.

HTML example:

<map name="clientsidemap">
   <area shape="rect" coords="0,0,100,100" href="" />
   <area shape="circle" coords="95,105,5" href="" />
   <area shape="poly" coords="5,100,10,110,0,110" nohref />

<a href="cgi-bin/"> <img src="image.gif" ismap usemap="#clientsidemap" /> </a> 

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.