<map name="">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- 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>

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.
Browser Support for name
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
All | All | All | All | All | All |