Chapter 9 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. Websites use forms to help with a variety of functions, including accepting visitor feedback, encouraging visitors to send a news story to a friend or colleague, collecting e-mail addresses for a newsletter, and accepting order information. This chapter introduces a very powerful tool for web developers—forms that accept information from web page visitors.
Resources & Chapter Links
Free Remotely-hosted Form Processing
Browser Support for HTML5 Form Controls
- http://caniuse.com (also CSS3 browser support information)
- http://findmebyip.com/litmus (also CSS3 browser support information)
The server-side script used in the chapter is written in PHP. View the source code.
Review flash card activities are available for this chapter.
Check your knowledge of chapter terms and concepts.
- Page 390: The date.html file is missing from the student files. Access date.html here
- Page 393: In the first line of the code sample, replace
<input type="text" name="myEmail" id="myEmail" with
<input type="email" name="myEmail" id="myEmail"
- Pacific Trails Resort Case Study
- Page 405 Task #2, Step 1: In order to match Figure 9.45 and Figure 9.47, do not configure right-aligned text for label elements.
- Page 406 Task #3, Step 2: In order to match Figure 9.45 and Figure 9.47, delete the address area from the page.
Questions or Comments?
The author would like to hear from you! Send an e-mail to firstname.lastname@example.org