The FORM Element

Each of these elements is typically given a name and has a
value based on the original HTML or user input. When the form is submitted,
the names and values of all active elements are collected into a string
with = between each name and value and with & between each name/value
pair. This string is then transmitted to the URL designated by the FORM element.
The string is either appended to the URL after a question mark or sent
on a separate line after the HTTP request headers and a blank line, depending
on whether GET or POST is used as the submission method. This section
covers the FORM element itself, used primarily to designate the URL and to
choose the submission method. The following sections cover the various user
interface controls that can be used within forms.

0 comments: