欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HTML 5 <map> 標簽

定義和用法

<map> 標簽定義客戶端的圖像映射。圖像映射是帶有可點擊區(qū)域的圖像。

HTML 4.01 與 HTML 5 之間的差異

在 HTML 5 中,不再支持 name 屬性。

提示和注釋:

注釋:area 元素永遠嵌套在 map 元素內(nèi)部。area 元素可定義圖像映射中的區(qū)域。

屬性

屬性 描述 4 5
id unique_name 為 map 標簽定義唯一的名稱。 4 5
name unique_name 為 map 標簽定義唯一的名稱。不支持。 4  

標準屬性

class, contenteditable, contextmenu, dir, draggable, id, irrelevant, 
lang, ref, registrationmark, tabindex, template, title

如需完整的描述,請訪問 HTML 5 中標準屬性。

事件屬性

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, 
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, 
ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, 
onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, 
onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

如需完整的描述,請訪問 HTML 5 中事件屬性

TIY 實例

創(chuàng)建圖像地圖
本例顯示如何創(chuàng)建帶有可點擊區(qū)域的圖像地圖。其中的每個區(qū)域都是一個超級鏈接。