HTML CSS examples for HTML Tag:input number
Allowing only number in input type number
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!-- w w w . j a v a 2 s . c o m--> <body> <form> <input type="text" pattern="\d+"> <input type="submit"> </form> </body> </html>