Basic HTML controls

Source: Internet
Author: User


=

: Text area

: Password area. The entered text is displayed '*'.
: Check box

: Single region;

: Reset all labels in the current <form> form to the initialization status (for example, clear text area content)
: Submit the current <form> form information to the specified page
: Normal button

: File selection label
: Hidden area, which stores the information used by the user instead of the user.
: Image Area



 

2. <select> label

 

You can create one or more menu options for an element. Similar to the combox or listbox of winform


: The size of the drop-down list displayed by default. The default value is the combox style. If the value is greater than 1, it is the listbox style.
: Select multiple items. Press Ctrl + left to select multiple items.

: The category of the selected item.
Attribute: name of the category display
Property: move the cursor over the selected item to display the information

: Optional items
Attribute: select the specific name of the item.
Property: move the cursor over the selected item to display the information

Select label Beijing Shanghai Zhejiang Fujian

 

2.2 obtain the value of the selected item.
$('#province').val() 

  

3. <textarea> label

 

: Multi-line text area


: Indicates the number of lines displayed.
: Number of columns displayed
: Read-only or not

 

4. <label> label

 


: Associate the corresponding control id. When you click this label, the control bound to the id gets the focus;

Name: password:

 

5. <fieldset> label

 

></>: The name of the header.

Fieldset label gender

 

6. ul, ol, and li list labels

 

: Unordered list (unordered list)
: Ordered list (ordered list ))
: List item, which is based on the two list sub-projects above.

    ul1    ul2    ul3    li1    li2    li3

: Defines the symbol style before the <li> label.


Series of articles =================================================== ====

 

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.