所属分类:web前端开发
使用 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>