gengns ES

An entry from the gengns log, written by Génesis García Morilla · · HTML5

HTML range value

Shortest version without form, min or external JavaScript.

HTML

<input type="range" max="10" oninput="num.value = this.value">
<output id="num">0</output>
Open in JSFiddle

Tags: input, range