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 XHTML In HTML, the <input> tag has no end tag.In XHTML, the <input> tag must be closed correctly.
Example A simple HTML form with two text input boxes and a submit button: XML/HTML Code Copy content to clipboard