Forms

<input>

An interactive control for web-based forms to accept data from the user.

<input>

An interactive control for web-based forms to accept data from the user.

Syntax

<input></input>

Example

<input class="example">Content here</input>

Notes

Semantic HTML helps screen readers and search engines understand your content.

Try It Yourself

Experiment with this element in the BrowserCode Playground.