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