VOOZH about

URL: https://www.geeksforgeeks.org/html/html-map-name-attribute/

⇱ HTML | <map> name Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML | <map> name Attribute

Last Updated : 21 Jun, 2022

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. 

Syntax:

<map name="mapname">

Attribute Values:

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

Example: 

Output: 

Before:

 👁 Image
 

After:

 👁 Image
 

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
Comment
Article Tags: