On Apr 2, 2010, at 8:23 PM, Bill Braun wrote: > Thierry Koblentz wrote: >> As a side note, one advantage of XHTML over HTML is that XHTML allows >> authors to use an ID on <html> (which can be handy). >> > > That's another mystery to me. Could you unpack a few details?
In html4 strict, the only attributes allowed on the 'html' element are lang and dir http://www.w3.org/TR/html401/struct/global.html#edef-HTML XHTML 1.0 strict strangely allows for the id attribute http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict (search for 'Document Structure' in that document) HTML5 also allows id and class on the html element: http://www.w3.org/TR/html5/semantics.html#the-html-element-0 It then links to 'Global attributes' http://www.w3.org/TR/html5/dom.html#global-attributes more: http://lists.w3.org/Archives/Public/www-archive/2003Mar/att-0105/table Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/