HTML <command> disabled Attribute
Example
A disabled <command> element:
<menu>
<command type="radio" label="Center" disabled
onclick="setAlign('center')">Center</command>
</menu>
Try it Yourself »
Browser Support
Attribute | |||||
---|---|---|---|---|---|
disabled | Not supported | Not supported | Not supported | Not supported | Not supported |
Definition and Usage
The disabled attribute is a boolean attribute.
When present, it specifies that the command element should be disabled.
Syntax
<command disabled>
❮ HTML <command> tag