img(2) map和area

map使用:

<map id="1" name="1">
		<!--id-必写,name可选-->
</map>
area的使用:

<map id="1" name="1">
	<!--area属性必须写在map内-->
	
	<area alt="XX"	<!--必写-->
		coords="10 20 30 10" <!--坐标-->
		href="URL" <!--此区域访问到URL-->
		nohref="nohref" <!--从图像映射排除某个区域。-->
		shape="default/rect/circ/poly" <!--区域的形状-->
		target="_blank/_parent/_self/_top" <!--在网页的哪里打开-->
	
	/>
</map>



你可能感兴趣的:(img(2) map和area)