Chapter 9. Forms

The Web was built as a one-way communication medium—designed to deliver content to a user but not gather data from the user. However, the usefulness of a World Wide Web soon drove constructs to enable users to send information as well as receive it. Enter the form, which allows graphical user controls to be placed in Web documents, allowing users to use methods they are familiar with to send data to interact with databases, submit orders to retailers, and more. This chapter details the ins and outs of XHTML forms and their controls.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP 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.