HTML5 Input Type | Description |
color |
Allows user to choose colors |
date |
Allows the user to enter a date (without time zone) using a
drop-down date-picker calendar |
datetime |
Allows user to choose a date and a time with a GMT time zone |
datetime-local |
Allows user to choose a date and a time with a local time zone |
email |
Allows user to enter one or more email addresses |
month |
Allows user to choose a date using the month and year (without time zone)
|
number |
Allows user to enter integer or float values |
range |
Allows user to enter numbers using a slider control |
search |
Allows user to enter text for a search query |
tel |
Allows user to enter a phone number |
time |
Allows user to enter a time (without time zone) |
url |
Allows user to enter a URL, such as an http://, https://, ftp://,
or mailto: address |
week |
Allows user to choose a date using the week and year (without time zone)
|