Easy Tutorial
❮ Met Node Issupported Event Onmouseup ❯

Input Date type Attribute

Input Date Object

Example

Returns the type of form element with a date field:


Definition and Usage

The type attribute returns the type of form element for the date field.

Note: In the above example, Opera, Chrome, and Safari return "date", while Internet Explorer and Firefox return "text".


Browser Support

All major browsers support the type attribute.

Note: The <input type="date"> element is not supported by Internet Explorer or Firefox browsers.


Syntax

Technical Details

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

❮ Met Node Issupported Event Onmouseup ❯