<map> tag in HTML
The <map> tag is used to define a client-side image-map. It is used along with the <area> and <img> tags to define the image map.
Important Description
- Image maps are images that have clickable areas.
- Open and close tag required of <map>.
Example of <map> tag
Result Look Like
<map> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<map> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes
Attributes
Attribute |
Value |
Description |
name |
mapname |
Defines the name of an image-map |