x
 
<!DOCTYPE html>
<html>
<body>
<p>
输入字段中将应用固定的步进(取决于浏览器支持):
</p>
<form action="/demo/demo_form.asp">
  数量:
  <input type="number" name="points"
   min="0" max="100" step="10" value="30">
  <input type="submit">
</form>
<p><b>注释:</b>IE9 以及更早版本不支持 type="number"。
</p>
</body>
</html>