Home → References → HTML Tags →
HTML Tag: map
A client-side image map. Used in conjunction with area to map links to certain regions of an image.
HTML Dog is hosted by Titan Internet
Required Attributes
idis used to uniquely identify the element.
Optional Attributes
classcan be used to reference the element with CSS.titlecan be used to specify a title for the element.- I18n attributes
- Event attributes
Example
<map id ="atlas">
<area shape ="rect" coords ="0,0,115,90" href ="northamerica.html" alt="North America" />
<area shape ="poly" coords ="113,39,187,21,180,72,141,77,117,86" href ="europe.html" alt="Europe" />
<area shape ="poly" coords ="119,80,162,82,175,102,183,102,175,148,122,146" href ="africa.html" alt="Africa" />
</map>

