max and min value in one html input code example
Example 1: html min max example input number
<input type="number" id="quantity" name="quantity" min="1" max="5">
Example 2: min max value for inout
<input type="number" min="1" max="999" />
<input type="number" id="quantity" name="quantity" min="1" max="5">
<input type="number" min="1" max="999" />