You are here: Reference > HTML > attributes > min (input:range)

min attribute (input:range)

Browser support:
Sets the minimum value of a range type input object (slider).
Use it together with the max and step attributes.
JavaScript page for this attribute: min. You can find other example(s) there.

Possible values:

Integer, that sets the minimum value of the slider.
Default: 0.

Example HTML code 1:

This example illustrates the use of the min attribute:
0<input type="range" min="0" max="100" step="25" />100
<br /><br />
-100<input type="range" min="-100" max="200" step="25" />200
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content