HTML drop-down list box differs from check box

Source: Internet
Author: User
Tags closing tag

In the case of creating a form with HTML, the drop-down list box differs from the check box, which we also pay special attention to in order to be aesthetically pleasing when writing HTML programs. For example, in general, the Department attribute is used in the drop-down list box, so not at the end of the last department to add line break <br>, after <select></select>, and for the interest check box can be arbitrarily added, Because the check box properties can be multi-select, vertical row of people after you add a line break, horizontal row on the last interest attribute after adding on it. and line break <br> no closing tag, independent use, it is convenient. The attributes of an HTML element must be enclosed in "", and multiple attributes must be separated by a space, and the extra space for the HTML language is truncated because it admits only one, in which case a space is used instead of a space.  

JavaScript is implemented in the standard HTML language by embedding or calling, which compensates for the lack of HTML language is a compromise between Java and HTML, is done using the <script> tag, and is typically used in HTML . Define a function in the program, to return a few or even a few data information, it is executed sequentially , after the design of its contents want to get the corresponding results, only this is not enough, but also need to call the function just defined before it can be executed, this cannot be forgotten.  
 





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.