HTML5 Tag: Area

Defination

The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map. If the area element has no href attribute, then the area represented by the element cannot be selected, and the alt attribute must be omitted.

Example
<div id="imageMap">
    <img src="globe-map.png" alt="map" usemap="#country">
    <map name="country">
        <area shape="rect" coords="0,0,20,150" href="india.htm" alt="India">
        <area shape="circle" coords="200,500,30" href="canada.htm" alt="Canada">
    </map>
</div>

Copyright @ 2017 DevelopNew. All Rights Reserved