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
- list The id of the
<datalist>element that contains optional pre-defined options. - max The maximum permitted value.
- min The minimum permitted value.
- step The stepping interval, used both for user interface and validation purposes.
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
Advertisement