step attribute
<input step='value'>
Explanation
step attribute provides the number intervals for the <input>.
Example Code:
Result :
- step attribute illustrates the legal intervals for the 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" web browsers.