All form fields can be disabled through their disabled attribute. It is a property on the element’s DOM object.
<button>I'm all right</button> <button disabled>I'm out</button>
Disabled fields cannot be focused or changed. The disables fields look gray and faded.