HTML command checked property
Examples
A pre-selected <command> element:
<menu>
<command type="radio" label="Left" checked
onclick="setAlign('left')">Left</command>
</menu>
<command type="radio" label="Left" checked
onclick="setAlign('left')">Left</command>
</menu>
try it"
Browser Support
Currently, almost all the mainstream browsers do not support checked property.
Definition and Usage
checked property is a Boolean property.
When checked attribute specifies the page loads should be pre-selected command element.
Note: Only when the command type is set to checkbox or radio, that is only when type = "checkbox" or type = "radio" when, to use this property.
Differences between HTML 4.01 and HTML5
<Command> tag is new in HTML5 tags.
Differences between HTML and XHTML
In XHTML, prohibit attribute minimization, checked attribute must be defined as <command checked = "checked">.
grammar
<command checked>
HTML <command> tag