Skip to navigation

HTML Tag: map

The basis of an image map. Used with img and area to map links to certain regions of an image.

Required Attributes

Attribute Description Possible values
name A unique name by which the image map can be referenced. Text (no spaces).

Optional Attributes

Global attributes


<map name="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">