HTML <button> disabled Attribute
A disabled button:
Try it Yourself »
The disabled attribute is supported in all major browsers.
Definition and Usage
The disabled attribute is a boolean attribute.
When present, it specifies that the button should be disabled.
A disabled button is unusable and un-clickable.
Differences Between HTML 4.01 and HTML5
Differences Between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the disabled attribute must be defined as <button disabled="disabled">.
HTML <button> tag
Thank You For Helping Us!
Your message has been sent to W3Schools.