HTML form tag tutorial (1): _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Form is a major external form for implementing dynamic web pages. Forms and form fields do not have the ability to typeset. form pages must be organized by tables. Html forms are an important means of interaction between html pages and browsers. The form can collect information submitted by the client. Forms are often seen when you browse websites. They are forms that implement interaction between websites and are a major form of dynamic web pages. Forms and form fields do not have the ability to typeset. form pages must be organized by tables. Html forms are an important means of interaction between html pages and browsers. The form can collect information submitted by the client.
Forms are often seen when you browse a website. They are an important part of the interaction function of a website. Regardless of the form language used by the website to implement website interaction functions, such as ASP, PHP, and JSP, forms have become their unified external form.
The main function of a form is to collect information, specifically the information of the browser. For example, to apply for an email address on the internet, you must complete the form page provided by the website as required. The main content of the form page is personal information such as name, age, and contact information. For example, if you want to speak on a forum and want to apply for qualifications before speaking, you also need to complete a form webpage.
Forms can be used for investigation, ordering, search, and other functions. Generally, a form consists of two parts: one is to describe the html source code of the form element, the other is the client script, or the server side is used to process the user's entered information. In html, we can define a form and make the form cooperate with form handlers on servers such as CGI and ASP.
The form information processing process is as follows: When you click the submit button in the form, the information entered in the form will be uploaded to the server and then processed by the relevant applications on the server, after processing, the information submitted by the user is stored in the database on the server side, or the relevant information is returned to the client browser.
A form is a specific area on a webpage. This area is explained by a pair of syntax
The marked attributes are shown in the following table. The name method of the name form defines the method for transferring the form result from the browser to the server. There are two methods: get and post actions are used to define the location (relative address or absolute address) of the Form Processing Program (ASP, CGI, and other programs). enctype is used to set the encoding mode of the form data. target is used to set the display mode of the returned information.

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.