VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typemonth/

⇱ HTML <input type="month"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="month">

Last Updated : 20 May, 2024

The HTML <input type="month"> element creates a month picker, allowing users to select a specific month and year without specifying a day. It provides a standardized way to input month-based data to enhance user experience.

Syntax

<input type="month"> 

Example: This example demonstrate the use of HTML <input type="month"> element.

Output

👁 HTML-Input-Type-Month

Supported Browsers

The browsers supported by <input type="month"> are listed below:

  • Chrome 20
  • Edge 12
  • Opera 11
  • Firefox Not Supported
  • Safari Not Supported
Comment
Article Tags: