The disabled attribute on an
input tag disables the input element. It appears grayed out and is unusable.
A disabled attribute on an
The input field is not usable and its value is not included during form submission.
<form action="/tutorial/action.html"> <label for="name">Name</label> <input disabled type="text" id="name" name="name"><br /><br /> <input type="submit"> </form>
The disabled attribute specifies that the input element is disabled.
The input element appears grayed out and is unusable.
Disabled input elements are excluded from form submission.
|disabled||Use value 'disabled' or no value at all. Both are valid.|
Here is when disabled support started for each browser:
Back to <input>