HTML <input type="date">
Definition and Usage
The <input type="date"> defines a date picker.
The resulting value includes the year, month, and day.
Browser Support
The numbers in the table specify the first browser version that fully supports the element.
Attribute | |||||
---|---|---|---|---|---|
type="date" | 20.0 | 12.0 | 57.0 | Not supported | 10.1 |
Syntax
<input type="date">