Html 5 Form min Attribute Tag

In the min attribute is used to indicate minimum value to allow for a input fields. which is restrict number or date or date pickers or range for input field types.


<input min = "0" />

Example Code

Type Number : <input type = "num" name = "num" min = "0" max = "10" />

Out Put :

Type Number :

In the above input type is a number and you can enter a number minimum 0 and maximum 10.