"."/> ".">

Home  >  Article  >  Web Front-end  >  what is html form

what is html form

青灯夜游
青灯夜游Original
2021-05-11 13:39:593404browse

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".

what is html form

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:

##AttributeDescriptionaccept-charsetSpecifies the character set used in the submitted form (default: page character set) . actionThe address (URL) that specifies where to submit the form (submission page). autocompleteSpecifies that the browser should automatically complete the form (default: on). enctypeSpecifies the encoding of submitted data (default: url-encoded). methodSpecifies the HTTP method used when submitting the form (default: GET). name Specifies the name by which the form is identified (for DOM use: document.forms.name). novalidateSpecifies that the browser does not validate the form. targetSpecifies the target of the address in the action attribute (default: _self).
Recommended tutorial: "

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn