HTML <input type="month"> (original) (raw)

Last Updated : 20 May, 2024

The **HTML 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

**Example: This example demonstrate the use of HTML element.

HTML `

HTML Input Type Month
<h2>HTML &lt;input type="month"&gt;</h2>

<form id="#">
    <label for="month">Enter Month:</label>
    <input type="month" id="month" name="month">
</form>

`

**Output

HTML-Input-Type-Month

**Supported Browsers

The browsers supported by ****** are listed below:

Similar Reads