<input>
HTML <input> Element Reference
The HTML <input> element creates a form control whose behavior is selected with its type attribute.
Categories
- Forms
Tag omission
This is a void element and does not have an end tag.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical input element example.
<label>Email address <input type="email" name="email" required></label>