HTML Forms are the most popular way to make web pages interactive.
The forms are the most popular way to make Web pages interactive. Like paper forms, a form on a Web page allows the user to enter the requested information and sends it to the processor. (Fortunately forms on a Web page processed much faster.)
indicates the beginning of a form. All other form tags go inside . In its simplest use, can be used without any attributes:
this code
produces this
name:
email:
Most forms require either the ACTION or NAME attributes to do anything meaningful. (The attribute is always required, but not necessarily used in every situation.) For example, to make this form work, we'll add the attribute, which indicates the CGI program to send the form data to. We'll also use NAME in the tags, and add a Submit button:
No comments:
Post a Comment