<!DOCTYPE html>
<head>
<title></title>
<meta charset="utf-8" />
</head>
<html>
<body>
<p>请点击图像上的星球,把它们放大。</p>
<img src="img/11.jpg" border="0" usemap="#planetmap" alt="Planets" />
<map name="planetmap" id="planetmap">
<area shape="circle" coords="180,139,14" href ="index.html" target ="_blank" alt="Venus" />
<area shape="circle" coords="129,161,10" href ="index.html" target ="_blank" alt="Mercury" />
<area shape="rect" coords="0,0,110,260" href ="index.html" target ="_blank" alt="Sun" />
</map>
<p><b>注释:</b>img 元素中的 "usemap" 属性引用 map 元素中的 "id" 或 "name" 属性(根据浏览器),所以我们同时向 map 元素添加了 "id" 和 "name" 属性。</p>
</body>
</html>
<head>
<title></title>
<meta charset="utf-8" />
</head>
<html>
<body>
<p>请点击图像上的星球,把它们放大。</p>
<img src="img/11.jpg" border="0" usemap="#planetmap" alt="Planets" />
<map name="planetmap" id="planetmap">
<area shape="circle" coords="180,139,14" href ="index.html" target ="_blank" alt="Venus" />
<area shape="circle" coords="129,161,10" href ="index.html" target ="_blank" alt="Mercury" />
<area shape="rect" coords="0,0,110,260" href ="index.html" target ="_blank" alt="Sun" />
</map>
<p><b>注释:</b>img 元素中的 "usemap" 属性引用 map 元素中的 "id" 或 "name" 属性(根据浏览器),所以我们同时向 map 元素添加了 "id" 和 "name" 属性。</p>
</body>
</html>