Skip to Content

Basics of Web Design
HTML5 & CSS3 Third Edition

Chapter 10 – Form Basics

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—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. Resource websites and chapter links are listed below.

Free Remotely-hosted Form Processing

Privacy & Form Processing

CSS Attribute Selectors

Browser Support for HTML5 Form Controls

Chapter Updates

New Update!

Use https instead of http when you are coding the action attribute values provided in the textbook.

  • Pages 328, 329, 338
    The value for the action attribute should be

  • Page 347,348
    The value for the action attribute should be

  • Page 343,344
    The value for the action attribute should be

Older Updates

  • Page 325
    The last URL on the page should be:

  • Page 328
    When you display your page in a browser it should look similar to Figure 10.17 instead of Figure 10.10.

  • Page 330
    The label element in the first code sample should be:
    <label for="myEmail">E-mail:</label>

  • JavaJam Case Study, Page 346, Task 2, Step 1
    The label text in Figure 10.37 is left-aligned, so do not configure right-alignment for text in this step.

Questions or Comments

The author would like to hear from you!
Feel free to contact the author with your questions or comments.

Book Cover

Review Games

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

Server-side Script

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

Server-Side Technologies

Free Server-Scripts


Share |