<IMG src="p_w_picpaths/ziye_14.jpg" useMap=#Map1 >
<MAP name=Map1>
<AREA shape=RECT target=_blank coords=54,58,159,88 href="1.html">
<AREA shape=RECT target=_blank coords=54,105,161,131 href="2.html">
</MAP>
<map> </map>元素定义热区
属性 shape表示热区类型:rect(矩形),circle(圆形),ploy(多边形)
属性 coords=坐标值,相对于放置图形
属性 href:点击热区时,指向的超链接
通过<img>的useMap属性将热区与图像连接起来。
转载于:https://blog.51cto.com/webtrados/218568