html map标签是什么意思?
map标签常用在为图像的某区域添加超链接,主要定义一个客户端图像映射,图像映射(image-map)指带有可点击区域的一幅图像。
作用:定义一个客户端图像映射。
说明:图像映射(image-map)指带有可点击区域的一幅图像。
注释:area 元素永远嵌套在 map 元素内部。area 元素可定义图像映射中的区域。中的 usemap 属性可引用
html map标签 示例
<img src="https://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg?x-oss-process=image/resize,p_40" border="0" alt="Planets"><map><area shape="circle" coords="180,139,14" href target alt="Venus"> <area shape="circle" coords="129,161,10" href target alt="Mercury"> <area shape="rect" coords="0,0,110,260" href target alt="Sun"></map><p><b>注释:</b>img 元素中的 "usemap" 属性引用 map 元素中的 "id" 或 "name" 属性(根据浏览器),所以我们同时向 map 元素添加了 "id" 和 "name" 属性。</p>
前端入门到VUE实战笔记:立即使用
在学习笔记中,你将探索 前端 的入门与实战技巧!











