C H A P T E R 12
Working with Forms
Forms are the HTML mechanism for gathering input from the user. Forms are incredibly important to web applications, but for many years the functionality defined in HTML has lagged behind the way forms are used. In HTML5, the entire form system has been overhauled and spruced up, aligning the standard with the way forms have evolved in use.
In this chapter, I describe the basics of HTML forms. I start by defining a very simple form and build on it to demonstrate how you configure and control the way the form operates. I introduce a Node.js script you can use to test your forms and see the data that is sent from the browser to the server.
In the chapter that follows, I cover the advanced form features, including ...
Get The Definitive Guide to HTML5 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.