The following is an example form taken the article Improve your forms using HTML5! from The Opera Developer Community Website. The only thing different from the original is that I have added Weston Ruter's webforms2 to implement HTML5 form validation in browsers that don't natively support it. This change required only one script tag. Back to the User Agent Man HTML5 Forms article.

Examples for the article "Improve your forms using HTML5!"

These examples form part of the article Improve your forms using HTML5! Have fun! (To play with the examples you need to use Opera 9 or newer.

The "search" control below should be focused:

The control below can be used to test "validation" of form controls: