18.12. Summary

HTML forms generally consist of two main parts: a FORM element that designates the URL that processes the data and INPUT elements that gather the data. The INPUT elements have a NAME specified in HTML and a value either specified in HTML or supplied by the end user. The name/value pairs are sent to the server either attached to the end of the main URL (with GET requests) or on a separate line (with POST requests).

Gathering data is all well and good. But processing data is the really interesting part. That's the subject of the next two chapters.

Get Core Web Programming, Second Edition 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.