HTML_02 _ form

Source: Internet
Author: User

Form:
The form tag is very similar to the from tag. Almost everyone writes an error,
Even if you know it, there will be errors. forms are the most common labels used for human-computer interaction.
It is the input tag. The type in the input tag has the following attributes: text (text box), password (password ),
Checkbox (check box), radio (single digit), hidden (hidden box, submit (submit), reset (reset) select (select)
Eg:

Notes:
1. form transfer method:
Post: it is a hidden transfer, does not display the password and related information,
Get: the default transmission mode. The password and related information are transmitted.
2. Each form has a name, type, and value. type indicates the type of the form,
Name is the name displayed on the interface, but it is not the name actually passed,
Value attribute.
3. The name attribute in the check box must be consistent, and the name in a single queue must be consistent.
4. The first option is displayed by default in slect. If you do not want to display the first option by default, you can
Enter selected. Here is a small trick, that is, using an meaningless table option.
To control something.
Eg:
--- Select ---BeijingShanghaiBytes
In this way, select the first default display, and the width of the Selection box will become wide based on the first width.

Related Article

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.