Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42
Min | Input Attribute | HTML5 Tutorial | Example

min attribute

<input min='value'>


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".


It will function only in "Opera and Chrome" browsers.

Ask Questions

Ask Question