'shape' sets the shape of an 'a' or 'area' element
<HTML>
<BODY>
<img src="http://www.java2s.com/style/logo.png"
alt="http://www.java2s.com"
width=200
height=100
usemap="#myMap">
<map name="myMap">
<area shape="rect" coords="0, 0, 100, 50" href=http://www.java2s.com>
<area shape="rect" coords="100, 0, 200, 50" href=http://www.microsoft.com>
<area shape="rect" coords="0, 50, 100, 100" href=http://www.msn.com>
<area shape="rect" coords="100, 50, 200, 100" href=http://www.yahoo.com>
</map>
</BODY>
</HTML>
Related examples in the same category