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 *

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.

in Table To:


© 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