How to specify that an input element should be disabled ?
tn this article, we will disable the input field using HTML. The disabled attribute for <input> element is used to specify that the input field is disabled. A disabled input is un-clickable and unusable. It is a boolean attribute. The disabled <input> elements are not submitted in the form.
When the disabled attribute is present, it specifies that the input field is disabled. We can not write any content on disabled input field.
- Apple Safari 1.0
- Google Chrome 1.0
- Firefox 1.0
- Opera 1.0
- Internet Explorer 6.0
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.