The min and max Attributes

The min and max attributes specify the minimum and maximum values for an input element.

Enter a date before 1980-01-01:
Enter a date after 2000-01-01:
Quantity (between 1 and 5):

هشدار:این دو ویژگی در مرورگر Internet Explorer 9 و نسخه های قبل تر آن کار نمی کنند

هشدار:این دو ویژگی اگر برای تاریخ و زمان به کار بروند در مرورگر Internet explorer 10 کار نمی کنند.