Online Html Editor | Online Html Compiler

<!DOCTYPE html> <html> <head> <title>Number Input Example</title> </head> <body> <h2>Number Input Field</h2> <form action="/submit_number" method="post"> <label for="quantity">Quantity:</label> <!-- You can specify attributes such as min, max, and step to define the range of valid values and the increments --> <input type="number" id="quantity" name="quantity" min="1" max="10" step="1" required> <br><br> <input type="submit" value="Submit"> </form> </body> </html>