#9 If I enter numbers outside the range of the number input, I will see an HTML5 validation error.
#12Inside the form element, I can select an option from a dropdown that has a corresponding id="dropdown"
.
this are what tey asked for.
first, I don’t know how to create a range in input type=“number”.
second, I don’t know what is a dropdown and how I add it to my form.
I will be glad if someone will help me, thank you.
Hi,
Try this one:
<input type="number" id="quantity" name="quantity" min="1" max="5">
Source: HTML input type="number"
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.