The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. If the value of the element is greater than this, the element fails validation. This value must be greater than or equal to the value of the min attribute. If the max attribute is present but is not specified or is invalid, no max value is applied. If the max attribute is valid and a non-empty value is greater than the maximum allowed by the max attribute, constraint validation will prevent form submission....type Syntax Example date yyyy-mm-dd <input type="date" max="2019-12-25"...max="2019-12-25" step="1"> month yyyy-mm <input type="month" max="2019-12"...