This reference lists all HTML input types for the <input> element — from text and email to date, color and range — with what each one does.
| Input type | Use |
|---|---|
| type="text" | Single-line text |
| type="password" | Hidden text |
| type="email" | Email address (validated) |
| type="number" | Numeric input with spinner |
| type="tel" | Telephone number |
| type="url" | Web address |
| type="search" | Search field |
| type="date" | Date picker |
| type="time" | Time picker |
| type="datetime-local" | Date and time |
| type="month" | Month and year |
| type="week" | Week of year |
| type="color" | Color picker |
| type="range" | Slider |
| type="checkbox" | On/off toggle |
| type="radio" | One of several options |
| type="file" | File upload |
| type="hidden" | Hidden value |
| type="submit" | Submit button |
| type="reset" | Reset button |