HTML5 only. Used within a
menu element, a
command is an interactive element
that represents an immediate action that can be triggered by the user
This is an empty element. It must be closed with a trailing slash in the XML serialization of HTML5.
typeis set to
commandkeyword indicates a normal command with an associated action.
checkboxindicates the command state can be toggled on or off.
radioindicates the command represents the selection of one item from a list of items.
<command onclick="cut()" label="Cut">
<command onclick="copy()" label="Copy">
<command onclick="paste()" label="Paste">
<command onclick="delete()" label="Clear">
HTML5 menus are not yet supported and can not be displayed.