[whatwg] 2.2.6. The document - getElementsByClassName

Anne van Kesteren fora at annevankesteren.nl
Mon Nov 7 08:32:12 PST 2005

Quoting ROBO Design <robodesign at gmail.com>:
>> The element's classes. The value must be a list of zero or more
>> words (consisting of one or more non-space characters) separated
>> by one or more spaces.
> By definition the class names are separated by spaces. How's this?

This is HTML 5. (And rightly so that it does not redefine what is allowed for
the 'class' attribute applied on elements in the XHTML 1 namespace.)

Anne van Kesteren

More information about the whatwg mailing list