by Terry Felke-Morris

Chapter 6 - XHTML Forms

Forms are used for many purposes all over the Web. They are used by search engines to accept keywords and by online stores to process e-commerce shopping carts.

Web sites use forms to help with a variety of functions ranging from accepting visitor feedback, encouraging visitors to send a news story to a friend or colleague, collecting email addresses for a newsletter, and accepting order information.

This chapter introduces a very powerful tool for web developers - using forms on web pages to accept information from your visitors.

Textbook Links

CGI Resources

Free Remotely-hosted
Form Processing

CGI &
Free Scripts

Server-Side Technologies

If you are using an outside service to process a shopping cart (more on shopping carts in Chapter 12) but want to preserve the look and feel of your site, consider using a frameset with separate frames for banner/logo, navigation, and content.

Configure the content frame to use the shopping cart. That way if the outsourced shopping cart does not display any logo or navigation -- your site will still be usable and look very "put together".

Chapter Updates

Chapter Materials :

  • Page 225 - The value of the id attribute in the first code sample is incorrect. Correction: id="sendto"
  • Page 228 - In Table 6.4 The value for the checked attribute is incorrect. The correct value for the checked attribute is "checked".

JavaJam Case Study:

  • Page 258 -- Second bullet point in #2:
    "Modify the text links at the bottom of the page." should be "Modify the text links."
  • Page 260 -- value - "Yes" should be value="Yes"

Questions or Comments?

The author would like to hear from you!
Send an e-mail to webdevfoundations@hotmail.com

Review Games
Chapter 6 Review
Flash Cards
Pick a Letter
Fill in the Blank
Matching
Crossword Puzzle

Resources

W3C
W3C HTML Validator
W3C CSS Validator

Color Chart
Design Checklist
Fireworks Tutorial
Flash Tutorial



A List Apart
SitePoint
Good Experience
Digital Web
Dreamweaver
FrontPage

ASP Script
formdemo.asp

The server-side script used in the chapter is written in VBscript using a technology called Active Server Pages (ASP). View the source code.


XML Blog News Feed