HTML <input type="range"> (original) (raw)

Last Updated : 20 May, 2024

The **HTML element creates a slider control for selecting a value from a specified range. Users can move the slider to choose a value between a defined minimum and maximum. This element is often used for adjusting settings like volume, brightness, or other numerical values in web forms. Its default range value is from 0 to 100.

**Syntax

**Example: This example demonstrates the use of the HTML element.

html `

HTML Input Type Range

HTML <input type="range">

<form action="#">
    <label for="range_val">Select Range</label><br>
    <input type="range" id="range_val" value="60">
</form>

`

**Output

HTML-Input-Type-Range

**Supported Browsers