the default width of an input field is 20 characters.




Radio Button

must use same name



Checkbox


Submit



The Action Attribute

The action attribute defines the action to be performed when the form is submitted. Usually, the form data is sent to a file on the server when the user clicks on the submit button. If the action attribute is omitted, the action is set to the current page.

The Target Attribute















The Method Attribute

The method attribute specifies the HTTP method to be used when submitting the form data.

The Autocomplete Attribute

The autocomplete attribute specifies whether a form should have autocomplete on or off. When autocomplete is on, the browser automatically complete values based on values that the user has entered before.



The HTML "form" Elements

<input> <label> <select> <textarea> <button> <fieldset> <legend> <datalist> <output> <option> <optgroup>




The "fieldset" element is used to group related data in a form. The "legend" element defines a caption for the "fieldset" element.

fieldset




The "datalist" element specifies a list of pre-defined options for an "input" element. Users will see a drop-down list of the pre-defined options as they input data. The list attribute of the "input" element, must refer to the id attribute of the "datalist" element.

form* Attributes

form:


formaction:


formenctype:

formmethod:

formtarget:

formnovalidate:

novalidate: