Sunny Books
What we have

HTML5 input types

HTML5 has several new input types for forms. These new features allow better input control and validation.

Input Type Description Browser Support
color The color type is used for input fields that should contain a color.
date The date type allows the user to select a date.
datetime The datetime type allows the user to select a date and time (with time zone).
datetime-local The datetime-local type allows the user to select a date and time (no time zone).
email The email type is used for input fields that should contain an e-mail address.
month The month type allows the user to select a month and year.
number The number type is used for input fields that should contain a numeric value.
range The range type is used for input fields that should contain a value from a range of numbers.
search The search type is used for search fields (a search field behaves like a regular text field).
tel Define a field for entering a telephone number:
time The time type allows the user to select a time.
url The url type is used for input fields that should contain a URL address. The value of the url field is automatically validated when the form is submitted.
week The week type allows the user to select a week and year.

Example

Name:
Email:
Tel:
Search:
Url:
Number:
Range:
Birthday:
Date:
Month:
Week:
Time:
Datetime:
Datetime-local:
Color:
SUNWEB EXPERT