<COMMAND>

Tag Description

<command> defines a command button. New in HTML5.

Code Example

<menu>
<command type="command">
Click me!
</command>
</menu>

Result

Click Me!

Attributes

Attribute Value Description
checked checked If type = radio or checkbox, then button is checked
disabled disabled Disables button
icon URL Button displayed as image
label name Name for the button. Visible to the user
radiogroup name If type = radio, specifies name of holding radiogroup
type checkbox, command, radio Type of command. Default is command

Browser Support

Browser Comment
Firefox Yes
Safari Yes
Chrome Yes
Opera Yes
IE Yes

Notes

Title

details

Thanks for visiting!