range

< html‎ | elements‎ | input‎ | type
Jump to: navigation, search

range



Summary

An input field for setting a number value that falls in a given range.


Overview Table

DOM Interface HTMLInputElement

Needs Examples: This section should include examples.

Notes

Remarks

If the range control isn’t supported in a browser, it will display the value as a normal text field. Note  For code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.

Standards information


Members

The input type=range object has these types of members:

  • [#properties Properties]


Properties

The input type=range object has these properties. {

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support 5.0
Unsupported
10
9.0
5.0

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic Support 2.1
7.0
18
Unsupported
10
10
Unsupported
5.0


Compatibility notes

Browser Version Note
Internet Explorer 10 recognises the type and validates properly, but as per spec it does not show a UI
Chrome 5.0 shows a UI, although this is not a requirement of the spec

See also

Related pages (MSDN)

  • Reference
  • input

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]