Skip to Content

Web Development & Design Foundations with HTML5

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.

Server-Side Script

The server-side script used in the chapter is written in PHP. View the source code.

Chapter Updates

Page 416, Table 9.2

The values listed for the autocomplete attribute should be
"on, off, token value".

Page 422, File Upload Control

There are errors in the code sample. The correct code is shown below:
<input type="file"

In Table 9.7, the "Value" column in the first line should contain "file".

Page 423

Figure 9.9 replacement

Page 437, Hands-On Practice 9.6

  • Step 2a
    Configure 1.5em padding
  • Step 2b
    Review the grid sketch in Figure 9.20

Path of Light Yoga Studio Case Study

  • Page 466, Create the Contact page shown in Figure 9.46.
  • Page 467, Step 3
    Modify your contact.html file to look similar to the Contact page (shown in Figure 9.46)
Web Development & Design Foundations with HTML5

Review Activities

Review Games

Review activities are available for this chapter. Check your knowledge of chapter terms and concepts.


10th Edition Student Files

HTML Validator
HTML Reference

CSS Validator
CSS Reference

Color Chart
Design Checklist