Form-filling
A form is made up of text with series of input areas which the user
can fill in, and finally send the completed form to a destination that
the author of the form specifies.
Form Definition
A form is defined within
<form ... > ... </form> start-tags. Start-tag attributes
include:
- method=" POST " , used by NCSA Mosaic.
- action=" url " , the script that does the processing.
Example: < form method=" POST "
action=" http://http://www.nacs.uci.edu/cgi-bin/zd.cgi/ " >
Input Areas
An input area is defined with the < input ... > tag. Attributes include:
name=" ... " names the field.
type=" ... " can be text, number, radio,
checkbox, reset, submit, hidden.
size=nnn specifies size of text allowed
value=" ... " value of the field
(radio, checkbox)
checked follows the value=" ... " to specify
a default value
for a radio or checkbox field.
Examples
A simple form, the
html code, and the
output/reflect file.
Comment Form
UCI-NACS Key Request Form - test version
Check out the seminar notes on FORM and ZotDispatch.
[Next]
[Previous]
[Index]
HTML 2.0 Checked