input

Creates an interactive control for forms. The type attribute specifies the kind of input.

Syntax

html
<input type="text" name="field">

Example

html
<input type="email" name="email" placeholder="Enter your email" required>