min attribute

<input min='value'>

Explanation

min step attribute grants the minimum values for an <input>.

Example Code:

Result :
Select a date after 2011-01-01:
  • min attribute mentions the minimum 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.

Ask Questions

Ask Question