date

< html‎ | elements‎ | input‎ | type
Jump to: navigation, search

date

This article is Not Ready.


W3C Working Draft

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

HTML

<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.