HTML <input type="month">

❮ HTML <input> tag ❮ HTML <input> type attribute

Example

<input type="month">

Meaning

Provides control for entering a month and year, with no time zone.

The format is "YYYY-MM".




Standard Syntax

HTML: <input type="month">

XHTML: <input type="month" />



Browser Support




Status







❮ HTML <input> tag ❮ HTML <input> type attribute