<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>HTML</title> </head> <body> <h1>Range in input field</h1> <div> <input type="range" id="vol" name="vol"> <label for="vol">Volume</label> </div> </body> </html>