A Command tag is a new tag introduced in HTML5. It is used to represent a command that the user can invoke like a radiobutton, a checkbox and a button or any other button that the user can interact with. It is part of a toolbar or context menu. This tag must be inside a menu tag. It will not work outside the menu tag. Types of command tags are command, checkbox and radio. Type attribute indicates the kind of command. This tag is currently supported in any version of IE and Safari. Commands can also be turned into check boxes with a checked="checked" attribute.Syntax<command class contenteditable contextmenu default disabled draggable hidden icon id itemid itemprop itemref itemscopeitemtype="microdata type in URL format"label lang radiogroup spellcheck style tabindex title type> Text Here</command>
HTML5 Event Attributes
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: