You are previewing HTML5 & CSS3 For The Real World.

HTML5 & CSS3 For The Real World

Cover of HTML5 & CSS3 For The Real World by Louis Lazaris... Published by SitePoint
O'Reilly logo

Chapter 4HTML5 Forms

We’ve coded most of the page, and you now know most of what there is to know about new HTML5 elements and their semantics. But before we start work on the look of the site—which we do in Chapter 6—we’ll take a quick detour away from The HTML5 Herald’s front page to have a look at the sign-up page. This will illustrate what HTML5 has to offer in terms of web forms.

HTML5 web forms have introduced new form elements, input types, attributes, and other features. Many of these features we’ve been using in our interfaces for years: form validation, combo boxes, placeholder text, and the like. The difference is that where before we had to resort to JavaScript to create these behaviors, they’re now available directly in the browser; ...

The best content for your career. Discover unlimited learning on demand for around $1/day.