Skip to Main Content
HTML5 Developer’s Cookbook
book

HTML5 Developer’s Cookbook

by Chuck Hudson, Tom Leadbetter
December 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
10h 42m
English
Addison-Wesley Professional
Content preview from HTML5 Developer’s Cookbook

5. HTML5 Web Forms

In this chapter, you will learn about HTML5 web forms and the new functionality now available to web developers. Of course, not all these new features are fully supported by all browsers, but as you will see in the recipes throughout this chapter, the new features degrade nicely. There are more than ten new input types and several new attributes to choose from, along with some new CSS tricks you can use to create forms.

Validation

Even though there are several new input types, without a doubt the biggest new feature is the built-in form validation HTML5 offers. Previously, you had to use server-side code like PHP or C# to check the contents of the submitted form and then return the page and display the errors to the user. Or ...

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 Cookbook

HTML5 Cookbook

Christopher Schmitt, Kyle Simpson
HTML5 in Action

HTML5 in Action

Greg Wanish, Rob Crowther, Joe Lennon, Charles Brindle

Publisher Resources

ISBN: 9780132697361Purchase book