From http://www.w3schools.com (Copyright Refsnes Data)
The <command> tag defines a command button, like a radiobutton, a checkbox, or a button.
The <command> tag is new in HTML 5
Attribute | Value | Description |
---|---|---|
checked | true | false | Defines if the command is checked or not. Use only if type is radio or checkbox |
default | true | false | If true, the command is invoked. Use only if the command is inside a context menu |
disabled | true | false | Defines if the command is available or not |
hidden | true | false | Defines if the command is visible or not |
icon | url | Defines the url of an image to display as the command |
label | command name | Defines a name for the command. The label is visible |
radiogroup | name of radiogroup | Defines the name of the radiogroup this command belongs to. Use only if type is radio |
type | checkbox command radio |
Defines the type of command. Default value is command |
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)