input number min max not working code example Example: html min max example input number <input type="number" id="quantity" name="quantity" min="1" max="5">