创建图像映射

<html>
<body>

<p>请点击图像上的星球,把它们放大。</p>

<img
src="eg_planets.jpg"
border="0" usemap="#planetmap"
alt="Planets" />

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

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

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

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

</map>

</body>
</html>

posted @ 2016-08-02 15:55  小黄琦  阅读(202)  评论(0编辑  收藏  举报