Overview: Forms and CGI

As the Web becomes more interactive, the need for interface components to gather data from users is greater than ever. Fortunately, this was anticipated in earlier versions of HTML and resulted in the introduction of the form elements. Forms are the visible or front-end portions of interactive pages. Users enter information into form fields or controls—user interface elements that are similar to those found on Windows and Macintosh operating systems—and click a button to submit the data. The browser then packages the data, opens an HTTP connection, and sends the data to a server. Things then move to the "behind-the-scenes" or back-end part of the process.

Web servers are programs that know how to distribute Web pages. ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.