<map name=””>

Attribute of
<map> HTML Tag
What does <map name=""> do?
Assigns a name to an image map.

Code Example

<img src="/wp-content/uploads/shapes.png" width="487" height="271" alt="Shapes" usemap="#shapesmap">

<map name="shapesmap">
  <area shape="rect" coords="29,32,230,215" href="square.html" alt="Square">
  <area shape="circle" coords="360,130,100" href="circle.html" alt="Circle">
</map>
Shapes Square Circle

The name attribute of the <map> element assigns a name to an image map. The name must match the usemap attribute of the associated <img> element. For more information on using image maps, see the <map> element page.

Claire is an HTML enthusiast.

Browser Support for name

AllAllAllAllAllAll