usemap是<img>标签的一个属性,用作指明所使用的图像“地图名”
后面的#Map的Map就是用<map>标签定义的一个图像地图,它的name属性是Map,像下面这样定义:<map name="Map"> <area shape=rect coords="100,100,200,200" href="test1.html"> <!-- 前两个数字为左上角座标,后两个数字为右下角座标 --> <area shape=rect coords="200,100,300,200" href="test2.html"> ... </map>使用时:
<img src="test.gif" usemap="#Map">图像地图把一幅图像分成若干个区域,点击不同的区域会进入不同的页面