Chapter 4. Collecting Data with Forms

As witnessed by today's booming "dot com" economy, nothing has been more vital to the success of the Web as a commercial medium as the ability to collect data from Web site visitors. The sale of information, services, and products of all kinds are contributing to the billions of dollars changing hands each year online; and each transaction begins with a simple form.

Forms combine not just XHTML elements and content, but additional scripts and programmatic actions in order to collect the data from the user and deliver it to the site owner by email, store it on the Web server, or perhaps insert it directly into a database.

This chapter teaches you:

  • How to use each of the 10 form controls

  • How form content is ...

Get XHTML by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.