Easy Tutorial
❮ Event Animationend Met Canvas Fillrect ❯

Input Time type Attribute

Input Time Object

Example

Returns the form element type for the time field:

x output value is:


Definition and Usage

The type attribute returns the form type for the time field.

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


Browser Support

All major browsers support the type attribute.

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


Syntax

Technical Details

| Return Value: | String, representing the form element type for the time field. | | --- | --- |

❮ Event Animationend Met Canvas Fillrect ❯