<button disabled>

Attribute of
<button> HTML Tag
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>

Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for disabled

AllAllAllAllAllAll