HTML tags Daquan (c)

Source: Internet
Author: User
Tags custom name

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.