The <input type="range"> is to add a range for the values. You can also set a restriction on range for the numbers. For restrictions, use the attributes like min, max and step attributes. The default range is from 0 to 100.
Example
You can try to run the following code to learn how to use range input type in HTML. The range will be visible as a slider −
<!DOCTYPE html> <html> <head> <title>HTML input range</title> </head> <body> <form action = "" method = "get"> Let us know where the installation of the software stopped :<br><br> <input type = "range" name = "point" min = "0" max = "50"><br> <input type = "submit" value = "Submit"> </form> </body> </html>