The input type="number" defines a numeric input field.
You can use the min and max attributes to add numeric restrictions in the input field: