On this page
  1. <input>
  2. Summary
  3. Notes & Best Practices
  4. Example

<input>

Prev: `<label>` | Up: forms | Next: `<button>`
Rel: forms, Forms & Inputs Guide
Ref: MDN Web Docs — <input>
Tags: #public #web #html #elements #forms #tier/core


Summary

Versatile single-line control (text, email, number, checkbox, radio, date, file, search).

Notes & Best Practices

Example

<label for="email">Work email</label>
<input id="email" name="email" type="email" autocomplete="email" required />

Linked from

Related notes