This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

date

Summary

The date type of the <input> element represents a widget for specifying a date value (year, month, day), with no time zone or time information.

Overview Table

DOM Interface
HTMLInputElement

Examples

<input type="date" value="2012-12-07">

Notes

On Safari Mobile for iOS, setting display: block on an input of type="date" causes the text within the input to become vertically misaligned.