HTML's form basic knowledge

xiaoxiao2021-03-06  17

HTML's form basic knowledge consists of two parts, part of the HTML page, is what the user can see. Another part is a program running on the server. In general, let's first HTML page, some programs. So our learning page is this, first look at the form of writing, then learn the CGI program. For HTML forms, there is a complicated and detailed regulations. But because they are things belong to the HTML standard, I don't plan to explain in detail. It is best to find a book yourself. The HTML form

tag combines the input domain and illustrates the way the form and the location of the form. The form label has many properties, such as Name, etc. The specific properties will be described. In Form There are still many different labels, which are all components of forms. This statement creates a text tab in HTML, and [] indicates that this property is optional. This statement is generated A submission button for the form of the form. It provides a button to send a form, the information sent in the tag. The URL given in the action property is submitted. Submit information according to the HTTP request type specified by the form. I will explain in detail. INPUT with type = reset property will generate a button that resets the contents of the tables to the initial state. form can be used to make a selection from several selection items in several options. It has the same elevacies. Name value. As long as there is an option at any time. This tag has a value property. If it is selected, it will be sent in the form of "Radio-set-id = choice-id" when sending a form. This tab will generate a 'OFF' or 'on' switch. It is similar to RADIO, but can be multiple selected. When submitted When a check box is selected, then its value property is submitted as the value of the box-set-id form data. Several checkboxes with the same Name property are a group. They use ',' separate List.

HTML table