The disabled attribute is a boolean attribute.
When present, it specifies that the <input> element should be disabled.
A disabled input element is unusable and un-clickable.
The disabled attribute can be set to keep a user from using the element until some other condition has been met (like selecting a checkbox, etc.). Then, a JavaScript could remove the disabled value, and make the element usable. Tip: disabled <input> elements in a form will not be submitted.
Click here for more information! HTML <input> disabled attribute.
Login in to like
Login in to comment