Cover Page by Bruce Lawson, Remy Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

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 Image HTML, and now itImages us Back ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required