Skip to content

24 ways to impress your friends

Vote down?

Alex Gibson

Nice article, a great example of the goodness that is to come from HTML5 web forms.

It would be nice if this article went a little further, for example – showing that we can use CSS to style fields that use Boolean attributes e.g. [required] {border:2px solid red;}

Also, we can use scripts like Modernizr to detect which browsers support these new input types, and provide regular JS form validation for browsers that don’t.

I think the forms module is one of the most appealing aspects of HTML5 for me, and I wish browsers makers would adopt implementation further.