Use the min attribute to add a minimum value in HTML. You can try running the following code to implement the min property -
<!DOCTYPE html> <html> <body> <form action=""> Rank: <input type = "number" name = "rank" min = "1" max = "10"><br> <input type = "submit"> </form> </body> </html>
The above is the detailed content of How to specify minimum value in HTML?. For more information, please follow other related articles on the PHP Chinese website!