The range type is used for input fields that should contain a value from a range of numbers.
Where we are adding students marks in an education site, students marks might have to be entered in a range of 0-100 . In such kind of cases we can use HTML5 Range Input Type
We can also place restrictions on what numbers that we want to accept.
Syntax with Example:
<input type="range" name="points" min="1" max="10">