form element"; the form tag pair can contain a variety of form elements, such as input , textarea, select, option, button, etc."/> form element"; the form tag pair can contain a variety of form elements, such as input , textarea, select, option, button, etc.">
Home > Article > Web Front-end > what does form mean in html
Form means "form" in HTML. It is a tag that creates an HTML form for user input. The syntax format is "ff9c23ada1bcecdd1a0fb5d5a0f18437form elementf5a47148e367a6035fd7a2faa965022e"; the form tag can be aligned Contains a variety of form elements, such as input, textarea, select, option, button, etc.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Form means "form" in HTML. It is a tag that creates an HTML form for user input.
A form is an area containing form elements; function: used to collect different types of user input.
Form elements allow users to enter content in the form, such as text areas, drop-down lists, radio-buttons, checkboxes, etc.
Forms are created through the ff9c23ada1bcecdd1a0fb5d5a0f18437 tag, where form objects such as form fields, buttons, and other things are placed:
<form> .... 表单元素 .... </form>
Commonly used form elements
ü form form
ü input form element, form item
ü select and option drop-down menu
ü textarea text area
(1)form element
Function: used to create a form
Format:
<form></form>
Basic usage:
Important attributes:
1, action: Indicates which page the content in the current form is submitted to for processing
2, method: indicates the current form submission method, the common methods are get and post, the default is get submission
(2) input element
Represents an input box, which comes in many forms. You can determine which input box to display based on the type attribute.
Basic usage:
(3) select and option
Function: used to implement drop-down listFormat:<select> <option>内容</option> <option>内容</option> <option>内容</option> </select>Basic usage:
We can use the selected attribute to let an option handle the default selected state.
(3) textarea
Function: Provides an input box for inputting large amounts of text, for example, publishing in QQ space Status, Tieba posts, etc.
Format: 4750256ae76b6b9d804861d8f69e79d340587128eee8df8f03d0b607fe983014
Basic usage:
html video tutorial"
The above is the detailed content of what does form mean in html. For more information, please follow other related articles on the PHP Chinese website!