HTML Infos : map

Description

Découpage d'une image

Doctypes

Exemples

<p><img src="image.png" alt="My image" usemap="#foo" /></p>
<map name="foo" id="foo">
    <!-- left, top, right, bottom -->
    <area shape="rect" coords="10,5,35,40" href="http://..." />
    
    <!-- x, y, radius -->
    <area shape="circle" coords="32,47,100" href="http://..." />
    
    <!-- x1, y1, x2, y2, ..., xn, yn -->
    <area shape="polygon" coords="14, 17, 39, 22, 74, 8" href="http://..." />
</map>
English | Français