- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML5 Input type “number” in Firefox
The min attribute of the input type number isn’t supported by Firefox, but it works correctly in Google Chrome.
Example
Let us see an example −
<!DOCTYPE html> <html> <head> <title>HTML input number</title> </head> <body> <form action = "" method = "get"> Mention any number between 1 to 10 <input type = "number" name = "num" min = "1" max = "10"><br> <input type = "submit" value = "Submit"> </form> </body> </html>
- Related Articles
- HTML5 Input type “number” in Firefox
- HTML5 input type range for vertical orientation possible in Firefox?
- HTML5 Input type=number removes leading zero
- Make HTML5 input type=“number” accepting dashes
- Render ASP.NET TextBox as HTML5 Input type “Number”
- Input type URL in HTML5
- input type week really exist in HTML5?
- HTML5 video not playing in Firefox
- PHP timestamp to HTML5 input type=datetime element
- AngularJS and HTML5 date input value - how to get Firefox to show a readable date value in a date input?
- Chrome input type=“number” CSS styling
- HTML DOM Input Number type Property
- Is it possible to validate the size and type of input=file in HTML5?
- Not showing a placeholder for input type=“date” field with HTML5. How to solve it?
- Autocomplete text input for HTML5?
- Remember and Repopulate File Input in HTML5

Advertisements