Define a month and year control (no time zone).
The <input type="month">
defines a month and year control.
The format is "YYYY-MM".
Tip: Always add the <label>
tag for best accessibility practices!
The numbers in the table specify the first browser version that fully supports the element.
<input type="month">
Example:
HTML
<label for="bdaymonth">Birthday (month and year):</label>
<input type="month" id="bdaymonth" name="bdaymonth">
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |