How would you like visitors to your page provide information about themselves, register for something, or just say Hi! All this can be done with CGI forms which your visitors can fill out online and the content will be e-mailed directly to you.
The above has a two parameters ACTION and METHOD. The ACTION parameter specifies the action to be taken once the form has been submitted. It is usually a URL or as in the above example a mailto link. The METHOD specifies the form is sent to the server. It should be set to POST.
Now lets put some elements in the form. Form elements are the fields of information which the visitor has to fill out. Lets start with the name and email fields. For Form elements we use the <INPUT> tags.
You now have a ready to use feedback form. When the visitor clicks on the submit button the information he has filled in the form will be e-mailed to you.
Case Study : Ram Chandran's Homepage
No homepage would be complete without a feedback form. Here's Ram's Ram's Feedback Form.
To view the code of the example file use the view source option of your browser.