"."/> ".">
Home >Web Front-end >Front-end Q&A >what is html form
HTML form is an area containing form elements, used to collect different types of user input; form elements are elements that allow users to enter information in the form; forms are defined using the form tag "ff9c23ada1bcecdd1a0fb5d5a0f18437".
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
The most important performance of the form is to receive the user's information on the client, and then submit the data to the background program to manipulate the data. From a technical concept, the form is used to operate the form object, and the object is A basic data type.
HTML form is an area containing form elements, used to collect different types of user input; form elements allow users to enter text fields in the form (such as: text fields, drop-down lists, radio buttons, check boxes, etc. etc.) element for entering information; forms are defined using the form tag (ff9c23ada1bcecdd1a0fb5d5a0f18437).
Create a form:
A form is created through the ff9c23ada1bcecdd1a0fb5d5a0f18437 tag, where the form objects such as form fields, buttons and other things are placed
Example
<form> . form elements . </form>
HTML forms contain form elements.
Form elements refer to different types of input elements, check boxes, radio buttons, submit buttons, etc.
HTML Form attributes
HTML ff9c23ada1bcecdd1a0fb5d5a0f18437 element, with all possible attributes set, is like this:
Description | |
---|---|
Specifies the character set used in the submitted form (default: page character set) . | |
The address (URL) that specifies where to submit the form (submission page). | |
Specifies that the browser should automatically complete the form (default: on). | |
Specifies the encoding of submitted data (default: url-encoded). | |
Specifies the HTTP method used when submitting the form (default: GET). | |
Specifies the name by which the form is identified (for DOM use: document.forms.name). | |
Specifies that the browser does not validate the form. | |
Specifies the target of the address in the action attribute (default: _self). |
html video tutorial"
The above is the detailed content of what is html form. For more information, please follow other related articles on the PHP Chinese website!