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

n.地圖,天體圖;類似地圖的事物;〈美俚〉臉,臉;(染色體上基因排列的)遺傳圖

vt.繪製(一地區(qū)等的)地圖;勘查;詳細(xì)規(guī)劃;[遺傳學(xué)]比對

第三人稱單數(shù): maps 複數(shù): maps 現(xiàn)在分詞: mapping 過去式: mapped 過去分詞: mapped

html map標(biāo)籤 語法

作用:定義一個(gè)客戶端影像映射。

說明:影像映射(image-map)指帶有可點(diǎn)擊區(qū)域的一幅圖像。

註解:area 元素永遠(yuǎn)嵌套在 map 元素內(nèi)部。 area 元素可定義影像映射中的區(qū)域。 <img>中的 usemap 屬性可引用 <map> 中的 id 或 name 屬性(取決於瀏覽器),所以我們應(yīng)同時(shí)向 <map> 新增 id 和 name 屬性。

html map標(biāo)籤 範(fàn)例

<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ù)瀏覽器),所以我們同時(shí)向 map 元素添加了 "id" 和 "name" 屬性。</p>

</body>
</html>
#