</>code
- <img src="planets.jpg" border="0" usemap="#planetmap" alt="Planets" />
- <map
name="planetmap"
id="planetmap">- <area shape="circle" coords="180,139,14" href ="venus.html" alt="Venus" />
- <area shape="circle" coords="129,161,10" href ="mercur.html" alt="Mercury" />
- <area shape="rect" coords="0,0,110,260" href ="sun.html" alt="Sun" />
- </map>
必需的 name 属性规定 image-map 的名称。
name 属性与 <img> 标签的 usemap 属性相关联,创建图像与映射之间的联系。
map 元素包含的 area 元素,定义图像映射中的可点击区域。
所有主流浏览器都支持 name 属性。
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛
Powered by 365建站网 RSS地图 HTML地图
copyright © 2013-2024 版权所有 鄂ICP备17013400号