HTML <map> Tag
The map tag in HTML is used to create an interactive picture map (or hotspots).
The <area>
element is used to generate clickable areas within the <map>
tag, and each clickable area can have a hyperlink associated with it.
The <area>
element is another frequent name for this tag.
Syntax
Attributes
Attribute | Value | Description |
---|---|---|
name | mapname | Required. The map's name is specified here. |
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<map> | Yes | Yes | Yes | Yes | Yes |