HTML Advanced Functions
| Home |
Agenda | Next |
Forms Continued
The Form tag tells a Web Browser where a form in your
HTML document begins and ends. The first and last tags in your
form are always the FORM tags. The form needs to know HOW
and WHERE to send the inputted information.
HOW
- METHOD attribute: specifies which protocol the client uses
to pass information to the server
- GET: will append the inputted information to the URL being
requested
- POST: will send the inputted information immediately after
the URL being requested (the more common choice)
WHERE
- ACTION attribute: specifies where to send the inputted information,
that is, the URL of the program on the server
Basic structure of a FORM tag:
<FORM METHOD=POST ACTION="name of server program">
</FORM>
| Home |
Agenda | Next |
T10D021