Working with Input Type=Month in HTML / HTML5

Posted on

To set the value for HTML Input Type=Month provide the value in Year Month combination as: YYYY-MM, you can use code as in example given below:

<input type=month value=”2015-04″ />

The above code example will set April 2015 for your Month Picker control.

 

Leave a Reply

Your email address will not be published. Required fields are marked *