<button disabled>
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- Creating A Button With The HTML Button Element: Here's How
- What does
<button disabled>
do? - Disables the button. It cannot be clicked and usually appears gray.
Code Example
<button disabled>You can't click me.</button>
Browser Support for disabled
All | All | All | All | All | All |