HTML and CSS Reference
In-Depth Information
<menu> (Menu List or Command Menu)
This element is used to indicate a short list of items ( li elements) that can occur in a menu
of choices. Traditionally, this looked like an unordered list under HTML 4 and prior
versions; HTML5 intends to reintroduce this element as a user interface menu filled with
command elements.
Syntax (Transitional Only, Returns in HTML5)
<menu
class="class name(s)"
compact="compact"
dir="ltr | rtl"
id="unique alphanumeric string"
lang="language code"
style="style information"
title="advisory text">
</menu>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
label="string for menu label"
spellcheck="true | false"
tabindex="number"
type="context | toolbar"
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable=" false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
tabindex="number" (5.5)
unselectable="on | off" (5.5)
HTML 4 Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown,
onmousemove, onmouseout, onmouseover, onmouseup
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
Search WWH ::




Custom Search