Form Markers
· C for close needed indicates that the tag belongs to the containment tag, which requires the end tag </tag >.
· N means no need to close indicates that the token is an empty tag, that is, no end tag is required.
C <form>
tags are used to create for user input HTML form.
A form can contain input elements such as text fields, checkboxes, radio boxes, submit buttons, and so on.
forms can also contain menus,textarea,fieldset,legend, and label elements.
Forms are used to transfer data to the server.
Property
Property |
Value |
Describe |
Action |
Url |
Specify the address where the form data is sent |
AutoComplete |
On|off |
Auto-complete |
Enctype |
Encoding format |
|
Method |
Get|post |
Form data Send HTTP method |
Name |
Form_name |
Form name |
Novalidate |
|
Use attributes, do not validate when submitting the form |
Target |
_blank|_self|_top|__parent |
Specify where to open the action |
|
|
|
C <textarea>
text box with text input field
N <input>
Input tag determines input form
C <select>
Select Mark to create pop-up scrolling list
Property |
Value |
Describe |
Autofocus
|
Autofocus |
HTML5 tag automatically gets focus |
Form |
form_id |
HTML5 label specified form |
Required |
Required |
HTML5 Tag Required |
Disabled |
Disabled |
Disable the label |
Name |
Custom Name |
Name of the label |
Size |
Custom int |
Number of label drop-down |
Multiple |
Multiple |
Multiple options available |
N <option>
Options per List option
This article is from the "My Drip" blog, please be sure to keep this source http://andylhx.blog.51cto.com/8891164/1408748