Forms provide a method for a Web viewer to send information back to the server of the HTML document.
|
<form action="URL"> . . . </form>
|
Attributes of this tag are discussed in CGI programming.
|
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
|
Example begin form tag:
|
<form method=post action="http://newton.npac.syr.edu/ ???/post-query">
|
The form handler "post-query" is a standard program that accepts all the data and prints it out.
|