The FORM element is a block level element - that means that the browser will present it on a new line, like it does with headings and paragraphs.
The FORM element's attributes include:
Table 4-1. FORM element attributes
Attribute | Example | Description |
---|---|---|
METHOD | METHOD="POST" | The HTTP method to use to send the form's contents back to the web server. It can be POST or GET -- the differences are explained the the HTTP cheat sheet appendix. |
ACTION | ACTION="../cgi-bin/myscript.cgi" | The relative or absolute URL of the CGI program which is to process the form's data |
Other attributes exist, but will not be used in this course.