The <input type="color"> is used for input fields that should contain a color.
Depending on browser support, a color picker can show up in the input field.
Depending on browser support:
A color picker can pop-up when you enter the input field.
Note: type="color" is not supported in Internet Explorer 11 and earlier versions or Safari 9.1 and earlier versions.
The <input type="date"> is used for input fields that should contain a date.
Depending on browser support, a date picker can show up in the input field.
Depending on browser support:
A date picker can pop-up when you enter the input field.
Note: type="date" is not supported in Firefox, or Internet Explorer 11 and earlier versions.
You can also add restrictions to dates:
Note: type="date" is not supported in Firefox, or Internet Explorer 11 and earlier versions.
The <input type="datetime-local"> specifies a date and time input field, with no time zone.
Depending on browser support, a date picker can show up in the input field.
Depending on browser support:
A date picker can pop-up when you enter the input field.
Note: type="datetime-local" is not supported in Firefox, or Internet Explorer 12 and earlier versions.
The <input type="email"> is used for input fields that should contain an e-mail address.
Depending on browser support, the e-mail address can be automatically validated when submitted.
Some smartphones recognize the email type, and adds ".com" to the keyboard to match email input.
Note:type="email" is not supported in IE9 and earlier.
The <input type="month"> allows the user to select a month and year.
Depending on browser support, a date picker can show up in the input field.
Depending on browser support:
A date picker can pop-up when you enter the input field.
Note: type="month" is not supported in Firefox, or Internet Explorer 11 and earlier versions.
The <input type="range"> defines a control for entering a number whose exact value is not important (like a slider control). Default range is 0 to 100. However, you can set restrictions on what numbers are accepted with the min, max, and step attributes.
Depending on browser support:
The input type "range" can be displayed as a slider control.
Note: type="range" is not supported in Internet Explorer 9 and earlier versions.
The <input type="search"> is used for search fields (a search field behaves like a regular text field).
The <input type="tel"> is used for input fields that should contain a telephone number.
The tel type is currently supported only in Safari 8.
Note: type="tel" is only supported in Safari 8 and newer versions.
The <input type="time"> allows the user to select a time (no time zone).
Depending on browser support, a time picker can show up in the input field.
Depending on browser support:
A time picker might pop-up when you enter the input field.
Note: type="time" is not supported in Firefox, or Internet Explorer 12 and earlier versions.
The <input type="url"> is used for input fields that should contain a URL address.
Depending on browser support, the url field can be automatically validated when submitted.
Some smartphones recognize the url type, and adds ".com" to the keyboard to match url input.
Note: The type="url" is not supported in IE9 and earlier versions.
The <input type="week"> allows the user to select a week and year.
Depending on browser support, a date picker can show up in the input field.
Depending on browser support:
A date picker can pop-up when you enter the input field.
Note: type="week" is not supported in Firefox, or Internet Explorer 11 and earlier versions.