input type=range element

with label

with label + required

with label + readonly

with label + disabled

Code

<label>temperature <input type="range" min="-100" max="100" value="10" step="10"></label>

Reference

HTML5 input type=range element