Exercise Ten
Overview
Exercise Ten gives you practice setting up a page with form elements. You will
be pointing your form at the "namevalue.cgi" CGI script that is installed on
the art.sasquatch.com server. This script returns the name/value pairs or information
that your form transmits so you will have an idea of its output. This exercise
is similar to hitting a
tennis ball against a wall for practice before moving up to playing tennis matches.
Remember to take Quiz 10 on Blackboard Learn+ as well.
You must fill out the exercise feedback form to receive credit
for any assignment.
Details
- Create another HTML page. Make sure it includes all the tags in the
HTML skeleton;
the two bits of code
to make the validator and your instructor happy; name the file as you wish
and save it with your other HTML files on your hard drive.
- Use this form tag to start your form on this exercise page; it will then be pointed at the "namevalue.cgi"
CGI script:
<form method="post" action="http://art.wallyzone.com/cgi-bin/namevalue.cgi">
- Create an example (or examples if you are having fun) for each of these form elements:
- text field
- password field
- textarea
- radio buttons (minimum three buttons)
- checkboxes (minimum three checkboxes)
- pull-down selection menu (minimum five options)
- multiple selection menu (minimum five options)
- hidden input(s)
- a reset button
- a submit button.
- Test your form. You will need an internet connection to test the form since it needs to
work with the art.sasquatch.com server.
- Place a link on your exercise ten page to your index.html page.
- Place a link on your index.html page to your exercise ten page.
- Upload your pages.
- Validate with no errors your new page, make sure your index.html page still validates.
- Fill out the exercise
feedback form and you are done. You must fill out this form to receive
credit for each assignment!
Conclusion
Forms and form elements allow the user to communicate with us. Formatting your form for
ease of use and clarity is important. Knowing the questions to ask from the start will
guide you in the layout of your form.
Exercise Ten Feedback Form
Will appear on
April 17