

The value must be the ID of a element in the same home subtree whose type attribute is in the popup menu state. If the type attribute has a value of menu, the menu attribute must be provided in order to specify the element's menu. Specifies the browsing context to load the destination indicated in the action attribute. either novalidate or novalidate="novalidate"). If the attribute is present, its value must either be the empty string or a value that is an ASCII case-insensitive match for the attribute's canonical name, with no leading or trailing whitespace (i.e. Specifies that the form is not to be validated during submission.

post (the form data is not appended to the URL).get (the form data is appended to the URL when submitted).

Specifies the HTTP method to use when the control is submitted. text/plain (use this when uploading files).multipart/form-data (use this when uploading files).application/x-www-form-urlencoded (default).Specifies the content type used to encode the form data set when it's submitted to the server. Specifies the URL of the file that will process the control when submitted. Specifies the ID of a form to which this control belongs. Therefore, if the user tries to use the control, nothing will happen. either autofocus or autofocus="autofocus").ĭisables the control. There must not be more than one element in the document with the autofocus attribute specified. This allows the user to start using the control without having to select it first. AttributeĪutomatically gives focus to this control when the page loads. The following table shows the attributes that are specific to this tag/element. The attributes that you can add to this tag are listed below. There are 3 kinds of attributes that you can add to your HTML tags: Element-specific, global, and event handler content attributes. Attributes consist of a name and a value separated by an equals (=) sign, with the value surrounded by double quotes. Attributes are added to a tag to provide the browser with more information about how the tag should appear or behave. HTML tags can contain one or more attributes. The HTML tag is used for creating a button control.Īlthough this tag is often used in conjunction with the element, it can also be used as a standalone control.
