1 |
Forms provide a method for a Web viewer to send information back to the server of the HTML document.
|
2 |
<form action="URL"> . . . </form>
|
3 |
Attributes of this tag are discussed in CGI programming.
|
4 |
Within one form many pieces of information can be collected and returned to the server.
-
Text entry fields, one line
-
Password fields
-
Scrollable text fields
-
Checkboxes (off/on toggle)
-
Radio buttons
-
Pop-up menus
-
Push buttons - submit and reset
|
5 |
Example begin form tag:
|
6 |
<form method=post action="http://newton.npac.syr.edu/ ???/post-query">
|
7 |
The form handler "post-query" is a standard program that accepts all the data and prints it out.
|