Dynamic Web Lab
Back to insights

HTML5 Input Type Month

October 4, 20121 min read

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.
 
 
 
[php]
<form action="#">
Month and Year: <input type="month" name="month_year" />
<input type="submit" />
</form>
[/php]

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

Writer

Dynamic Web Lab Editorial

We share how we design, engineer, and scale digital products across the GCC, Europe, and the US.

Share this article

Tags

HTML5

Need help implementing this?

We turn these playbooks into shipped features. Let us scope your roadmap and support your team.

Start a project conversation