range

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

range

Merge Candidate: This page is a candidate for merge with the following pages: [[html/attributes/type]]


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
23
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
23
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

Attribution

This article contains content originally from external sources.

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