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.