All tested on OSX 10.6.1. Obviously I've left out most of the standard, and therefore boring, inputs.
Currently, this page is only interesting in Opera 9.60+ (earlier?) 9.0+ (thanks @FataL), and partially-so in Safari 3+ / Chrome.
Safari / Chrome:
:required css pseudo-selector (4+),
type=range—but can't hook into
Opera: everything else, for the most part, except for
placeholder, a chrome style for
Both Opera and Safari / Chrome have
type=color implemented—but there is no fancy UI.
Click submit, or hit enter to see validation errors in Opera. Client-side validation will only work for inputs that have a
Bruce Lawson writes:
forms with required attrib. need name attrib too, otherwise they don't take part in submission so can't be checked (thanks!). See also his html5 forms demo page.
Copyright © 2009 Michael Taylor and licensed under the MIT license.