Advertisement
Home Open Editor ❯

HTML <input> type Attribute

Example

<input type="month">

Try this code ❯

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" />


Advertisement

Home Open Editor ❯
Advertisement