Rank: &nbs"/> Rank: &nbs">
Home >Web Front-end >HTML Tutorial >How to add maximum value to HTML?
Use the max attribute to add a maximum value in HTML. You can try running the following code to implement the max 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 add maximum value to HTML?. For more information, please follow other related articles on the PHP Chinese website!