定義和用法
标簽定義用戶端的圖像映射。圖像映射是帶有可點選區域的圖像。
HTML 4.01 與 HTML 5 之間的差異
在 HTML 5 中,不再支援 name 屬性。
提示和注釋:
注釋:area 元素永遠嵌套在 map 元素内部。area
元素可定義圖像映射中的區域。
屬性
屬性
值
描述
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
中事件屬性。