Use the min and max attributes to add restrictions to dates:
Note: type="date" is not supported in Safari or Internet Explorer 11 and earlier versions.