Forms

Documents that allow and encourage feedback and interaction are increasingly important parts of web documents. Forms are a good example of this evolution.

Forms use the tags <Form>, <Input>, <Textarea>, <Select> and <Option>.

In the examples below you will see what effect different <input type=...> have. "Text", "Submit Value", "Reset Value", "Radio" and "Checkbox" are types of input. Another type of form allows users to select from a pop-up list of options using the <select> tag.

Make a feedback form by copying and pasting the following in your word processor.

Save it as a text file and open it with your browser.

Forms like this are used to collect the information that is typed in. To do this a another program on the server is made use of. This is called the "Common Gateway Interface" or "CGI". It is the cgi that allows for interaction or two way communication.

Here is another example.

This uses radio buttons where turning one on turns the other(s) off and checkboxes which allow more than one choice


Look at these examples of Forms

  1. Form 1
  2. Form 2
  Return to top of page