Create an input element with type set to range.
input
type
range
Make sure to type <input type="range">.
<input type="range">