Skip to content
Related Articles

Related Articles

HTML | <map> name Attribute

View Discussion
Improve Article
Save Article
  • Last Updated : 21 Jun, 2022
View Discussion
Improve Article
Save Article

The HTML <map> name Attribute is used to specify the name of the mapping image, This attribute is associated with the <img> usemap attribute and created the relationship between the image and the map. 


<map name="mapname">

Attribute Values:

  • name: it specify the name of the image map.



<!DOCTYPE html>
        HTML name Attribute
<body style="text-align:center;">
    <h2>HTML map name Attribute</h2> `
    <map id="Geeks" name="Geeks">
        <area shape="rect"
              coords="0, 0, 110, 100"
        <area shape="rect"
              coords="110, 0, 190, 100"
        <area shape="rect"
              coords="190, 0, 300, 100"
    <img src=






Supported Browsers: The browsers supported by HTML <map> name Attribute are listed below:

  • Google Chrome version 1 and above
  • Edge version 12 and above
  • Firefox version 1 and above
  • Internet Explorer 
  • Opera 
  • Safari 1 and above

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!