HTML5 Input Type Month

HTML5 introduce new Input Type Month.This month type allows users to select a month and year.It will just select the month and year with no time zone.
You can call this Input Type Month using input type="month" on your input field.

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

<form action="#">
Month and Year: <input type="month" name="month_year" />
<input type="submit" />
</form>

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

Month and Year:

Or it may look like the screenshot below

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply