The
command
element
with a type attribute whose
value is "command" represents a command with an
associated action.
empty (void element)
global attributes & type & label & icon & disabled
The command element is a void element. A command element must have a start tag but must not have an end tag.
any element that can contain metadata elements, any element that can contain phrasing elements
interface HTMLCommandElement : HTMLElement {
attribute DOMString type;
attribute DOMString label;
attribute DOMString icon;
attribute boolean disabled;
attribute boolean checked;
attribute DOMString radiogroup;
};