<input type="range"/> or
<input type="range" />
HTML5 only. Creates a slider control that a user can use to enter a value that does not need to be precise. The range starts at the value provided by the
min attribute (0 by default) and ends at the value provided by the
max attribute (100 by default).
This is an empty element. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a trailing slash as just shown. Developers may include a space character before the slash for backward compatibility with older browsers.
on) or requires the user to enter the information every time (
off). Omitting this attribute causes the control to inherit the
autocompletesetting for the associated
datalistelement. The value of the list attribute is the
idof the associated
maxvalue must not be less than the
minvalue defines the base for
reset. Assigns a name to the control; a script program uses this name to reference the control.
typeof the input control. It may be a number, a text string (such as a date), or the keyword
any, which allows any unit value.
<input type="range" name="satisfaction" min="0" max="10">