Attributes · <input type="range">
Which HTML Input Type Range attributes matter?
These attributes decide how the <input type="range"> behaves and what actually gets emailed to your inbox when someone submits.
| Attribute | What it does | Docs |
|---|---|---|
name | The key the value is sent under, such as budget. Without a name, the slider is never sent. | |
min | The lowest value on the slider. The default is 0. | MDN |
max | The highest value on the slider. The default is 100. | MDN |
step | The size of each step. The default is 1. Use any for any value in between. | MDN |
value | The starting value. Without it, the slider starts at the midpoint between min and max. | MDN |
list | The id of a <datalist> whose <option> values show as tick marks on the slider. | MDN |




