HTML RANGE


 The <input type="range"> defines a control for entering a number whose exact value is not important (like a slider control).

Default range is 0 to 100. However, you can set restrictions on what numbers are accepted with the attributes below.

  • Max - specifies the maximum value allowed
  • Min - specifies the minimum value allowed

<! DOCTYPE html> 

<html> 

        <head>

            <title> Range </title>

        </head>

        <body>

               <label for="slide"></label>

                <input type="range" id="slide">

        <body>

<html>