在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>