The list attribute

The list attribute specifies the id of a datalist element containing a set of suggested values that can be applied to an input element. Entering a value into the associated input e...

The min and max attributes in HTML5 forms

The min and max attributes can be applied to a form input field to indicate the ran...

The multiple attribute

The multiple attribute is applied to a form field element to indicate that more than one value can be selected at a time. The exact behavior of the multiple attrib...

The pattern attribute

The pattern attribute is a form validation attribute that is used to validate the value of an input field against a regular expression. Regular expressions are used for advanced pa...

The placeholder attribute

The placeholder attribute is applied to an input field in order to display optional hint text that is visible...

The required attribute

The required attribute is a form validation attribute that can be applied to any standard form field in which a value can be entered. Upon form submission, if the form contains any...

The step attribute

The step attribute can be applied to form input elements that define a numeric range of poss...