[html401] generic attributes (conflict with DOM)

<http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.3>  
states that the <html> element only allows "lang", "dir" and "version" as  
attributes. This conflicts with the definition of HTMLHtmlElement  
<http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-33759296>.  
Note that this inherits from HTMLElement  
<http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-58190037>  
which defines an id, title, lang, dir and className DOM Attribute. Given  
that all elements inherit from HTMLElement this argument doesn't solely  
apply to the <html> element.

Implementations also support these attributes on all elements. I suggest  
therefore that HTML 4.01 is updated to allow "id", "title", "lang", "dir"  
and "class" as content attributes on _all_ elements.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 23 January 2006 16:28:10 UTC