HTML and CSS Reference
command=" id of master elememt
id of master elememt "
When a command element uses the command attribute, its state is set based on the master
disabled ( disabled="disabled" in XHTML)
Indicates that a command is not available in the current state.
Specifies the location of an image to be used as a button for the command.
Provides the name of the command, as displayed to the user.
Specifies the name of a group of commands when the command type is set to radio .
Provides a hint describing the command to aid the user.
Indicates the kind of command. The command keyword indicates a normal command with
an associated action. checkbox indicates the command state can be toggled on or off. ra-
dio indicates the command represents the selection of one item from a list of items.
Note: menuitem has replaced command in HTML5.1 and the living WHATWG spec.
<command onclick="cut()" label="Cut" >
<command onclick="copy()" label="Copy" >
<command onclick="paste()" label="Paste" >