HTML <input type="range">

❮ HTML <input> tag ❮ HTML <input> type attribute

Example

<input type="range" id="volm" name="volm" min="0" max="150">

Meaning

Provides control for entering a number whose exact value is not important.

Displays as a range widget defaulting to the middle value. Used in conjunction min and max to define the range of acceptable values.

Default range is 0 to 100.

Additional Attributes


Standard Syntax

HTML: <input type="range">

XHTML: <input type="range" />



Browser Support

Webview Android:

Added: 2, Removed: 4.4 and than partial implementation.
Notes: Pre-Chromium Android WebView recognizes the range type, but doesn't implement a range-specific control.




Status







❮ HTML <input> tag ❮ HTML <input> type attribute