First, the table cell element <form></form>
Primary properties
1 Action: The attribute value is the URL, which stipulates that when submitting the form, it should be thought where to submit the data, when the time is empty, the current page operation is indicated;
2 Method: Form data submission, which specifies the way to submit the form data to the page specified by the action attribute;
Including post and get two, corresponding to PHP $_post and $_get two functions
The difference between post and get is that the amount of get data is less than 1024KB, and the form submission displays the value of the form data field in the Address field, and the post is not limited by the amount of data, and the form field data is not displayed in the address bar, typically in development
For post-pass methods, it is divided into single value and multivalued delivery, as follows:
Single-Value delivery:
Multi-value Pass: An array that is set by name is passed the value
3) Enctype: Form data encoding method;
4) Name: Form name
Two, form controls
1.<input>, for recording user information, main properties include: 1 type: Specify different input types, create different input fields, 2 value: Control values; 3) Name: control names
2.<label></label> text and controls together, click the text and click the control consistently
3.<select></select>: Create a choice box, use <option></option> create each of these options
4.<TEXTAREA></TEXTAREA>: An input control that creates multiple lines of text