HTML <map> element


<map> tag define a map with clickable areas.

Following is a map of USA with different time zones marked in different colors. If you click at the right side or left side of the map, you will be redirected to pacific time zone or eastern time zone page.

HTML codes:

<img src="pic/us.png" width=580 height=400 usemap=#usmap>
<map name=usmap>
<area shape=rect coords=0,0,80,300 
     href="http://www.timebie.com/timelocal/pacific.php">
<area shape=rect coords=395,0,560,400 
     href="http://www.timebie.com/timelocal/eastern.php">
</map>

The "name" attribute cannot be empty.