step attribute (input:range)
Sets the discrete step size of the input:range element.
JavaScript page for this attribute: step. You can find other example(s) there. |
Possible values:
Integer, that sets the difference between two neighboring values.
Default: 1.
Example HTML code 1:
This example illustrates the use of the step attribute:
|
||||
Step size is 10: <input type="range" step="10" min="0" max="100" /> <br /><br /><br /> Step size is 20: <input type="range" step="20" min="0" max="100" /> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
User Contributed Comments