max attribute
<input max='value'>
Explanation
Max attribute provides the
maximum values for the <input>.
Example Code:
Result :
- max attribute indicates the maximum value, that can be entered in a input field.
- It functions with the input types like "month, datetime-local, range, date, number, datetime, time and week".
Limitations:
It will function only in "Opera and Chrome" browsers.