编辑你的代码:
<!DOCTYPE html> <html> <body> <form action="/html5/tryit/demo_form"> <input type="number" name="points" min="0" max="10" step="3" value="6"> <input type="submit"> </form> </body> </html>
查看结果:
phpxuexi.net
- 亲自试一试