Advertisement
Home Open Editor ❯

HTML <input> type Attribute

Example

<input type="date">

Try this code ❯

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" />


Advertisement

Home Open Editor ❯
Advertisement