Bootstrap Range
Bootstrap range is a UI component that allows users to select a value from a range of values using a slider. It is a built-in component in Bootstrap that is easy to use and customize.
Syntax
To create a range slider with Bootstrap, you need to add the following HTML code:
<input type="range" class="form-range" min="0" max="100" id="rangeSlider">
In this code, the type
attribute is set to range
, the class
attribute is set to form-range
, the min
attribute is set to the minimum value of the range, the max
attribute is set to the maximum value of the range, and the id
attribute is set to a unique identifier for the range slider.