Easy Tutorial
❮ Prop Anchor Charset Prop Style Liststyle ❯

Input Range type Attribute

Input Range Object

Example

Returns the type of the form element for the slider control:

x Output result is:


Definition and Usage

The type attribute returns the type of the form element for the slider control.

In the above example, Internet Explorer 9 and earlier versions will return "text" instead of "range". Internet Explorer 10 (and later versions), Firefox, Opera, Chrome, and Safari will return "range".


Browser Support

All major browsers support the type attribute.

Note: Internet Explorer 9 and earlier versions do not support the HTML <input> element with the type="range" attribute.


Syntax

Technical Details

| Return Value: | String, representing the type of the form element for the slider control | | --- | --- |

❮ Prop Anchor Charset Prop Style Liststyle ❯