Read these lines while learning about Number Input in HTML Forms :
type="number" for an
<input> we can restrict what users type into the input field to just numbers (and a few special characters like
+ , and
. ). We can also provide a
step attribute which creates arrows inside the input field to increase or decrease by the value of the
I didn’t understand the last line. It will be very helpful if somebody explains me this part.