HTML <input type="date">

❮ HTML <input> tag ❮ HTML <input> type attribute

Example

<input type="date">

Meaning

Provide control for entering a date (year, month, and day, with no time).

Opens a date picker or numeric wheels for year, month, day when active in supporting browsers.


Standard Syntax

HTML: <input type="date">

XHTML: <input type="date" />



Browser Support




Status







❮ HTML <input> tag ❮ HTML <input> type attribute