Skip to content
HTML.ONE
Home HTML Elements

HTML <input> Element

Represents an input control. Its type determines behaviour and available attributes.

Example

<label>Email <input type="email" name="email" required></label>

Further reference

HTML Living Standard

Live preview