HTML <command> (Command) Tag

❮ Previous Reference Next ❯


  <command type="checklist" label="Check List">Check List</command>


The <command> is HTML5 element represents a command a user can invoke and is found within a <menu> element.

Commands may be simple actions or toggles among various states or options.

Note: It's currently in extremely raw form and without implementations its usage should be considered speculative.

Note: <command> tag support only Internet Explorer 9.

Version: HTML5

Standard Syntax


Browser Support



Attribute Value Description
type command
Defined type of command.
checked empty string
Define the command is checked when first time load.
label name Define the command name.
icon url Define the command like image icon attach.
radiogroup name Define the command name radio group.

Global Attributes

The <command> element also supports the Global Attributes in HTML.

Event Attributes

The <command> element also supports the Event Attributes in HTML.

❮ Previous Reference Next ❯