<IMG src="images/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属性将热区与图像连接起来。

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2021-06-01
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
相关资源
相似解决方案