Min Attribute
The min attribute is used to specify a minimum value for a numeric <input> type. The value of the input element must be equal to or greater than the value of the min attribute.
If the <input> element has the max attribute set, then the value of the min attribute must be equal to or less than the value of the max attribute.
The input types where the min Attribute is most commonly used are number, range, date, month, week, time, and datetime-local.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form>
<label for="qty">Quantity</label>
<input type="number" id="qty" min="3">
<br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>