HTML map tag

HTML map tag is used to give each image area a link to open on click.

Each area contains a link and you can open the link by clicking on that particular area. A mapping can be done by using <map> tag. This uses the image for mapping.

The name attribute of map tag and the usemap attribute of image tag with map name with # is used to make the relationship between image and mapping.


nature image html map

paragraph list image

Attribute of HTML map tag

Sr. No. Attribute Name Description
1 name This defines the name of the image map.

  • The possible value is mapname

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Get FREE Access to Toolkit and Resources that we are using in Tutorialdeep that Every Professional Should Have! in one handy PDF.

Download Link Will be Send to Your Email id