HTML 参考手册
HTML <area> coords 属性
带有可点击区域的图像映射
源代码:
点击运行 »
<img src="/examples/planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap"> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" href="/examples/sun.htm" alt="Sun"> <area shape="circle" coords="90,58,3" href="/examples/mercur.htm" alt="Mercury"> <area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus"> </map>
运行结果:
点击运行 »