HTML Tutorial
HTML Attributes
HTML Tags List
HTML5 Advance
HTML API
HTML Color Names
HTML Misc
MCQ
Interview Questions
The 'disabled' is an attribute of tag in HTML, which is used to denote that the button is disabled. It is a Boolean attribute. The disabled button cannot be used for clicking, and it appears as a grey color.
Examples: The following examples are using different buttons and make them disabled.
Example 1: The following example disables the submit button.
Output:
Example 2: The following example disables the reset button.
Email:[email protected]