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.