案例:html案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<p>
6
Depending on browser support:<br>
7
The input type "range" can be displayed as a slider control.
8
</p>
9
10
<form action="/example/html/form_action.aspx" method="get">
11
  Points:
12
  <input type="range" name="points" min="0" max="10">
13
  <input type="submit">
14
</form>
15
16
<p>
17
<b>Note:</b>
18
type="range" is not supported in Internet Explorer 9 and earlier versions.
19
</p>
20
21
</body>
22
</html>