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
- Disables the button. It cannot be clicked and usually appears gray.
<button disabled>You can't click me.</button>
Browser Support for disabled