

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to specify a minimum value in HTML?
Use the min attribute to add the minimum value in HTML. You can try to run the following code to implement min attribute −
Example
<!DOCTYPE html> <html> <body> <form action=""> Rank: <input type = "number" name = "rank" min = "1" max = "10"><br> <input type = "submit"> </form> </body> </html>
- Related Questions & Answers
- How to specify citation in HTML?
- How to specify that a user can enter more than one value in HTML?
- How to specify a unique id for an element in HTML?
- How to specify the kind of text track in HTML?
- How to find minimum value in MongoDB?
- How to specify an image as a client-side image-map in HTML?
- How to specify which form element a calculation is bound to with HTML?
- How to specify that the element is read-only in HTML?
- How to specify the number of columns a table cell should span in HTML?
- How to change the minimum value of a JSlider in Java?
- How to specify that an element is not yet relevant in HTML?
- How to specify where to send the form-data when a form is submitted in HTML?
- How to select data in MySQL where a field has a minimum value?
- How to specify the HTML content of the page to show in the <iframe> in HTML?
- How to cut a data frame column with minimum value in R?
Advertisements