Input Type: Date

This type is used for input fields that should contain a date:

<input type="date">

Depending on the browser you use, a date picker may show up in the input field:

HTML file: Displayed by browser:
<form action="http://www.w3schools.com/html/action_page.php">
  Birthday:
  <input type="date" name="bday">
  <input type="submit">
</form>
Birthday:

Note: The date input type is not supported by Internet Explorer nor Mozilla Firefox, but Google Chrome displays a scrollable calendar.

Back button Table of Contents Next button