This type is used for input fields that should contain a 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> |
Note: The date input type is not supported by Internet Explorer nor Mozilla Firefox, but Google Chrome displays a scrollable calendar.