Chapter 3 Forms
Bruce Lawson
ONE OF THE problems with HTML 4 forms is that they’re just dumb fields. Validation is required on the server, of course, but you have to duplicate it in the user’s browser with JavaScript to give them the seamless experience they deserve. Given that almost every Web page has some kind of form—search, comments forms, sign-up, etc.—wouldn’t it be great if browsers had built-in validation for some of the most common data types that we collect?
You guessed it: HTML5 forms provide exactly that.
We HTML, and now its us Back ...
Get Introducing 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.