This article mainly introduces the detailed explanation of HTML input tags and their disable methods, and summarizes several methods for using disabled attributes in CSS to achieve disables. Friends who need it can refer to the definition and usage below
The <input> tag is used to collect user information.
The input field has many forms depending on the different type attribute values. The input field can be a text field, a check box, a masked text control, a radio button, a button, and so on.
Differences between HTML and XHTMLIn HTML, the <input> tag has no end tag.
In XHTML, the <input> tag must be closed correctly.
ExampleA simple HTML form with two text input boxes and a submit button:
XML/HTML Code Copy content to clipboard