<input type="range" value="25" min="0" max="100" step="5" oninput="this.nextElementSibling.innerHTML = this.value"> <span>24</span>