英[m?p] 美[m?p]

n. ??, ?? ??; 〈?? ??〉 ??, ??? ??(??? ?? ??? ??)

vt. etc.) ) ??; ?? ??; [???] ??

3?? ??: ?? ??: ?? ?? ??: ?? ?? ??: ??

HTML ?? ?? ???

??: ????? ??? ?? ?????.

??: ??? ?(image-map)? ?? ??? ??? ?? ???? ????.

??: ?? ??? ?? ?? ?? ?? ?????. ?? ??? ??? ?? ??? ?????. <img>? usemap ??? <map>? id ?? name ??? ??? ? ????(????? ??) id? name ??? ?? <map>? ???? ???.

HTML ?? ?? ?

<html>
<body>

<img
src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg"
border="0" usemap="#planetmap"
alt="Planets" />

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

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

<area
shape="circle"
coords="129,161,10"
href ="http://ipnx.cn/example/html/venus.html"
target ="_blank"
alt="Mercury" />

<area
shape="rect"
coords="0,0,110,260"
href ="http://ipnx.cn/example/html/venus.html"
target ="_blank"
alt="Sun" />

</map>

<p><b>注釋:</b>img 元素中的 "usemap" 屬性引用 map 元素中的 "id" 或 "name" 屬性(根據(jù)瀏覽器),所以我們同時向 map 元素添加了 "id" 和 "name" 屬性。</p>

</body>
</html>