读书人

求代码解释 多谢

发布时间: 2012-09-25 09:55:58 作者: rapoo

求代码解释 谢谢
<img
src="/i/eg_planets.jpg"
border="0" usemap="#planetmap"
alt="Planets" />

<map name="planetmap" id="planetmap">

<area
shape="circle"
coords="180,139,14"
href ="/example/html/venus.html"
target ="_blank"
alt="Venus" />

<area
shape="circle"
coords="129,161,10"
href ="/example/html/mercur.html"
target ="_blank"
alt="Mercury" />

<area
shape="rect"
coords="0,0,110,260"
href ="/example/html/sun.html"
target ="_blank"
alt="Sun" />

</map>


[解决办法]
这是w3school代码吧,是图片映射的,你看例子就明白了
http://www.w3school.com.cn/tiy/t.asp?f=html_areamap
[解决办法]
对地图图片划分不同的区域,不同的区域加入不同的操作~~

读书人网 >CSS

热点推荐