Web Developer Foundations: Using XHTML
 
Textbook Companion Web Site

  Home  

  Chapter 1    
    The Internet & the
    World Wide Web

  Chapter 6
XHTML Forms
First Edition Textbook Companion

 

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.

XHTML Forms
Chapter Links

Yahoo!    Ebay    Amazon

Free Server-Side Processing:
Formbuddy
Master.com
Hosted Scripts
Response-O-Matic
Forms & Usability:
Web Developers Library
Evolt.org on Forms
Forms That Work
Effective Use of Forms
ASP Script Code: 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.

Chapter 6 Clarifications

Every attempt is made to produce a perfect book but sometimes errors just creep in...

1. The label tag is a container element. It should always be coded with both an opening and a closing tag. The first example for using the <label> tag is incorrect, it should be:
<label>E-mail: <input type="text" name="CustomerEmail" /></label>

2. JavaJam Coffee House Web Site Case Study Page 218 - 220. To obtain a web page most similar to the one in the text, set the background color of the table that contains the form to bgcolor="#FFFFCC". You may have found a different solution. That's great! There are many ways to code a web page and achieve similar results.

3. Page 220 -- The second bullet point on the page should suggest that you use the background color of #999966 instead of #99966 for the background color of the cells in the first column.

4. Page 227-- the answer to #11 should be maxlength instead of maxsize.

 

Internet Explorer 6 and "mailto:"
Page 188 in the text discourages the use of invoking your visitor's e-mail application to process the form. There is a new reason why this should be avoided -- it is not fully supported by Internet Explorer 6. When using "mailto: with Internet Explorer 6 in a form's action, the e-mail application will launch but your e-mail address will not be configured as the "to" e-mail address. Use server-side processing to process your form instead of "mailto:".
Purchase the book at Addison-Wesley Publishing

  Chapter 2
    XHTML Basics


  Chapter 3 
   
XHTML Hyperlinks
    XHTML Tables

  Chapter 4 
    XHTML Color  &
    Visual Elements

  Chapter 5
   XHTML Frames   

  Chapter 6 
    XHTML Forms

  Chapter 7 
    Web Site Design

  Chapter 8 
    Web Site
    Development

  Chapter 9
    Introduction to 
    Cascading Style
    Sheets

  Chapter 10
    Web Media

  Chapter 11
    Promotion for 
    Web Developers

  Chapter 12 
    Introduction to Web
    Page Interactivity

  Chapter 13 
    E-Commerce

  Color Chart

  FrontPage

  Dreamweaver

Bonus Chapters:
     Networking
     Security

Top of Page      

Copyright © 2002 
Terry A. Felke