Easy Tutorial
❮ Prop Style Padding Prop Element Scrollwidth ❯

Input Month type Attribute

Input Month Object

Example

Returns the form element type of the month field:

The result of x could be:


Definition and Usage

The type attribute returns the form type of the month field.

Note: In the above example, Opera, Chrome, and Safari browsers return "month", but Internet Explorer and Firefox return "text".


Browser Support

All major browsers support the type attribute.

Note: Internet Explorer or Firefox browsers do not support the <input> element with the type="month" attribute.


Syntax

Technical Details

| Return Value: | String, representing the form element type of the month field | | --- | --- |

❮ Prop Style Padding Prop Element Scrollwidth ❯