源代码 :
点击运行
<!DOCTYPE html> <html> <body> <form action="demo_form.php" method="get"> <input type="number" name="points" min="0" max="10" step="3" value="6"> <input type="submit"> </form> </body> </html>
运行结果