当前位置: 代码迷 >> HTML/CSS >> html中的map属性-舆图例子
  详细解决方案

html中的map属性-舆图例子

热度:566   发布时间:2012-06-29 15:48:47.0
html中的map属性--地图例子
<body>

<img src="fj_map.png" border="0" usemap="#planetmap" alt="Planets" height="550" width="550" />

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

<area
	shape="circle"
	coords="330,375,35"
	href ="http://www.w3school.com.cn/tiy/t.asp?f=html_areamap"
	target ="_blank"
	alt="quanz" />

<area
	shape="circle"
	coords="366,305,25"
	href ="http://www.baidu.com/"
	target ="_blank"
	alt="put" />

<area
	shape="circle"
	coords="420,235,54"
	href ="http://www.baidu.com/"
	target ="_blank"
	alt="fuz" />

<area
	shape="circle"
	coords="280,410,23"
	href ="hhttp://www.w3school.com.cn/tiy/t.asp?f=html_areamap"
	target ="_blank"
	alt="xiam" />

<area 
	shape="circle" 
	coords="203,446,57" 
	href ="http://www.qzwb.com" 
	target ="_blank" 
	alt="zhangz" />

<area 
	shape="circle" 
	coords="450,125,59" 
	href ="http://www.baidu.com/" 
	target ="_blank" 
	alt="ningd" />

<area 
	shape="circle" 
	coords="195,240,50" 
	href ="http://www.baidu.com/" 
	target ="_blank" 
	alt="longy" />

<area 
	shape="rect" 
	coords="100,314,200,380" 
	href ="http://www.baidu.com/" 
	target ="_blank" 
	alt="sanm" />

<area 
	shape="polygon" 
	coords="258,215,315,148,225,40,134,110" 
	href ="http://www.baidu.com/" 
	target ="_blank" 
	alt="sanm" />

</map>

</body>
?
  相关解决方案