This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

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.