The HTML attribute that specifies the minimum permitted value for a numeric input is min.
For example, <input type="number" min="1"> tells the browser that values below 1 are outside the control’s permitted range. If a user enters a lower value, constraint validation can mark the control invalid and prevent form submission. The attribute is also valid for range inputs and several date- and time-based input types, where it establishes the earliest or lowest allowed value.
The min attribute is often confused with step. min sets the lower boundary, while step sets the permitted increment. Thus, min="10" step="5" allows values such as 10, 15, and 20. The max attribute supplies the upper boundary, and value supplies the input’s initial value rather than its minimum.
For text fields, minlength is the relevant attribute for a minimum number of characters; min does not limit text length. Client-side constraints improve usability, but servers must still validate submitted data because users can alter HTML or send requests without using the form.