Skip to Content

Basics of Web Design
HTML5 & CSS3 First 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.

Free Remotely-hosted Form Processing

Privacy & Form Processing

Browser Support for HTML5 Form Controls

Chapter Updates

  • Page 253 - The caption for Table 10.10 should be Common Option Element Attributes.
  • Page 259 - The CSS needs one additional style rule for optimal cross-browser display—add clear: left; to the label element selector.
  • Page 263 - The second sentence in the second paragraph should be: Your screen should look similar to Figure 10.11.
  • Page 271 - Browser support for HTML5 keeps increasing! The Opera browser (versions 10.5+) supports the color input form control.
  • Page 276 - The Pacific Trails Case Study CSS needs one additional style for optimal cross-browser display:
    form div { clear: left; }

Questions or Comments

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

 

Book Cover

Review Games

Play a review game to check your understanding.

Flash Cards
Crossword Puzzle
Pick a Letter
Fill in the Blank
Matching

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 |