8.10 Forms and How They’re Processed: Client-Side Versus Server-Side
Have you ever filled out input boxes on a web page and clicked submit in order to have some task performed, like converting miles to kilometers or buying a canine selfie stick? If so, you’ve used a form. A form is a mechanism for grouping input controls (e.g., buttons, text controls, and checkboxes) within a web page.
If you’ve spent much time on the Internet, you probably know that forms are very popular. So why did we wait until now to introduce them? Before this chapter, all you knew was HTML, which is very limited in terms of processing capabilities. With HTML, you can implement forms and controls, but HTML won’t help you process the user’s input. To make forms useful, ...
Get Web Programming with HTML5, CSS, and JavaScript 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.