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.


Let us see an example −

<!DOCTYPE html>
      <title>HTML input number</title>
      <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">
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know