'area' Example
<html>
<head>
<title>area element example</title>
</head>
<body>
<img src="yourimage.gif" alt="" width="200" height="100" usemap="#myMap">
<map name="myMap">
<area shape="rect" coords="0, 0, 10, 50" href="http://www.java2s.com">
<area shape="rect" coords="100, 0, 20, 50" href="http://www.google.com">
<area shape="rect" coords="0, 50, 10, 10" href="http://www.demo2s.com">
<area shape="rect" coords="10, 50, 20, 10" href="http://www.google.com">
</map>
</body>
</html>
Related examples in the same category