Range inputs have implicit values for min and max—0 and 100, respectively. You may specify new values for those using the min and max attributes.
Code
HTML Code for this Element
<label for="customRange2" class="form-label">Min And Max range</label>
<input type="range" class="form-range" min="0" max="5" id="customRange2">
Steps
By default, range inputs “snap” to integer values. To change this, you can specify a step value. In the example below, we double the number of steps by using step=".5".