在HTML中设置图像映射区域的坐标?

使用 HTML 中的 cords 属性设置 HTML 图像地图中区域的坐标。

示例

您可以尝试运行以下代码来实现cords属性 –

<!DOCTYPE html>
<html>
   <head>
      <title>HTML coords attribute</title>
   </head>
   <body>
      <img src = /images/html.gif alt = HTML Map border = 0 usemap = #html/>
      <map name = html>
         <area shape = circle coords = 154,150,59 href = about/about_team.htm
            alt = Team target = _self />
      </map>
   </body>
</html>

以上就是在HTML中设置图像映射区域的坐标?的详细内容,更多请关注双恒网络其它相关文章!