Chapter 9. Forms

IF MONEY MAKES the world go around, then forms make the web go around. They are key to most commercial websites, which rely on taking personal information and credit card details. But they’re handy for less capitalistic purposes too. A basic form can also be used to allow a user to submit a comment or question via a web page, or for gathering countless other types of useful information.

Forms are sometimes used in conjunction with client-side scripts for web application functionality (such as devising a simple calculator, for example), but are most commonly used as they were intended—to send data across the Internet.

What goes on after a form is submitted is a world beyond HTML and CSS, involving such alien server-side programming ...

Get HTML Dog: The Best-Practice Guide to XHTML & CSS 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.