Basic HTML version of Foils prepared 11 May 1997

Foil 22 Forms

From Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

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.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Aug 26 1997