Originalhttps://www.jianshu.com/p/b427daa8663dOutline1. Understanding the form2. Understanding form Elements3. Classification of form elements4. Table element--text box5. Table Element button6, Table element--Single, multi-select7, table cell
Form) is used to collect information from user site visitors, and then submit the information to the server for processing. The form can contain various controls that allow users to interact, such as text boxes, list boxes, check boxes, and
Form attributes
Action
Define a URL. Send data to this URL when you click Submit.
4
5
Data
For automatic data insertion.
5
Replace
Define what is done when a form is submitted.
5
Contents of the formOnce the form is created, you can place the control in the form to accept the user's input. These controls are typically used in conjunction with ...... label pairs, or they can be used outside the form to create a user interface.
In the process of designing an HTML page, you often encounter problems with form element overlay style elements, and figure one is a typical example. Do not underestimate this seemingly "low-level" problem, even if some of the larger web site
HTML create a single-choice or multiple-choice menu for a tag, select multiple
All mainstream browsers support labels.
You can create one or more select menus for the select element.
The label in element is used to define available options in
Input commit behavior description for the type of submit of the same nameThis situation,
It can be used as a button for submitting content, which is sent to the parameters of the server segment, corresponding to the button
All major browsers support tags.The Select element creates a single-or multiple-selection menu.The tags in the element are used to define the options available in the list.Tip: The Select element is a form control that can be used to accept user
abc>" onclick= "movelist (' leftlist ', ' rightlist ')" >defProgram Description://html DOM selectedindex Properties HTML DOM Select Object Definition and Usage the SelectedIndex property sets or returns the index number of the selected option in the
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.