在 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>
广告
数据结构
网络
RDBMS
操作系统
Java
iOS
HTML
CSS
Android
Python
C 编程
C++
C#
MongoDB
MySQL
Javascript
PHP