From http://www.w3schools.com (Copyright Refsnes Data)
The <menu> tag defines a menu list. Use this when you wish to list form controls.
The menu element was deprecated in HTML 4.01.
The menu element is redefined in HTML 5, and should now be used to list form controls.
Tip: Use CSS styles to define the type of list!
Source | Output |
---|---|
<menu> <li><input type="checkbox" />Red</li> <li><input type="checkbox" />blue</li> </menu> |
Attribute | Value | Description | 4 | 5 |
---|---|---|---|---|
autosubmit | true false |
If true, then form controls, such as drop-down lists, radiobuttons etc. will be automatically submitted when changed | 5 | |
compact | compact_rendering | Not supported. Use CSS instead | 4 | |
label | menulabel | Defines a visible label for the menu | 5 | |
type | context toolbar list |
Defines which type of menu to display. Default value is "list". | 5 |
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in 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 |
For a full description, go to Event Attributes in HTML 5.
From http://www.w3schools.com (Copyright Refsnes Data)