Skip to content
Related Articles

Related Articles

Improve Article

HTML | <input type=”month”>

  • Last Updated : 29 May, 2019

The HTML <input type=”month”> is used to specify the control of month and year field. The value must be in the format of “YYYY-MM”.


<input type="month"> 


<!DOCTYPE html> 
        HTML input type month 
<body style="text-align:center;"
    <h2>HTML <Input type ="month"></h2
    <form id="myGeeks"
        <input type="month" id="month_id"


Supported Browsers: The browsers supported by <input type=”month”> are listed below:

  • Google Chrome 25.0
  • Internet Explorer 12.0
  • Opera 10.1

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :