HTML5 defines restrictions on the allowed values of boolean attributes: If the attribute is present, its value must either be the empty string (equivalently, the attribute may have an unassigned value), or a value that is an ASCII case-insensitive match for the attribute’s canonical name, with no leading or trailing whitespace. Depends on what you define HTML as. Description . The input element, having the "submit" value in its type attribute, represents a button that, when pressed, submits the form it belongs to. Browser Support for type. Standard Attributes . The input element, having the "color" value in its type attribute, represents a field for a color input. Using the list attribute. The tag HTML creates an element for retrieving information from users. With the arrival of HTML5, several new attributes have been added to this element (formaction, formenctype, formmethod, formnovalidate and formtarget) that define and override certain parameters pertaining how the form must be submitted. The type attribute will determine what kind of input is considered valid for a given element. HTML Form Input Types. When used with the input element, the attribute specifies the type of the date it can accept. If you want to alert the user, you must write JavaScript code. HTML input Tag: Main Tips. Here is a list of some common HTML Form input types. HTML checked attribute supports input element. For example, it can provide a control for the user to enter text. The