Skip to Content
The Definitive Guide to HTML5
book

The Definitive Guide to HTML5

by Adam Freeman
December 2011
Beginner to intermediate
1080 pages
23h 42m
English
Apress
Content preview from The Definitive Guide to HTML5

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML5 Unleashed

HTML5 Unleashed

Simon Sarris
HTML5 Solutions: Essential Techniques for HTML5 Developers

HTML5 Solutions: Essential Techniques for HTML5 Developers

Marco Casario, Peter Elst, Charles Brown, Nathalie Wormser, Cyril Hanquez
HTML5 in Action

HTML5 in Action

Greg Wanish, Rob Crowther, Joe Lennon, Charles Brindle

Publisher Resources

ISBN: 9781430239604Purchase book