The input element represents a control for setting the element’s value to a string representing a specific date. 220.127.116.11.7. Date state (type=date)
One of the ‘new’ HTML5 elements - input type=“date” - was intended to simplify the collection of dates on websites, and to reduce user errors whilst doing so. So is it well supported? And does using it help make forms more accessible? We took date inputs for a test drive with different browsers and …Tags:
input elements of type=“date” create input fields that let the user enter a date, either with a textbox that validates the input or a special date picker interface.
<label for="start">Start date:</label>
<input type="date" id="start" name="start">