X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <command> disabled Attribute

HTML command Tag Reference HTML <command> tag

Example

A disabled <command> element:

<menu>
<command type="radio" label="Center" disabled
onclick="setAlign('center')">Center</command>
</menu>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The disabled attribute is currently not supported in any of the major browsers.

Note: Internet Explorer 9 (not earlier or later versions), supports the disabled attribute.


Definition and Usage

The disabled attribute is a boolean attribute.

When present, it specifies that the command element should be disabled.


Differences Between HTML 4.01 and HTML5

The <command> tag is new in HTML5.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the disabled attribute must be defined as <command disabled="disabled">.


Syntax

<command disabled>


HTML command Tag Reference HTML <command> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook