范围

Version >= 五

<input type="range" min="" max="" step="" />

用于输入其精确值不重要的数字的控件。

属性 描述 默认值
min 范围的最小值 0
max 范围的最大值 100
step 按每个增量增加的金额。 1