html5 input date

HTML5 Input Type Date

HTML5 Input Type Date will allows the user to select a date.
Previously this is done by Javascript date picker.
To make you life easier you can now call this date picker by simply using this
type="date" on your input field.

May be looks like this way :

<input type="date" name="birthday" />

Currently the latest version of Chrome, Opera and Safari browser supporting this.

If you are using any of this above browser then you are lucky to see it on action

Date Picker:

The code i used abode is:

<form action="#">
Date Picker: <input type="date" name="bday" />
<input type="submit" />
</form>

Or it may look like the screenshot below

html5 input date

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply