* Bert Bos wrote: >> [...] >> For HTML documents, however, we recommend that authors specify the >> background for the BODY element rather than the HTML element. >> [...] >> >> Why? Does this also apply to XHTML documents? > >Tradition of the BODY BGCOLOR attribute. > >Good question. Since XHTML (at least from 2.0 onwards) is supposed to >be an examplary XML-based format, with as little semantics as possible >that is not derived from other specifications (CSS, XLink, etc.), and >since XHTML doesn't have a BGCOLOR attribute anyway, I guess we can >remove the special treatment of BODY in the case of XHTML. Hence the user agent has to decide how to treat something HTML-special depending on the MIME type of the document retrieved, i.e. text/html => treat it as HTML, application/xhtml+xml or some other XML media type, don't treat it special? Thanks, -- Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de 25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/Received on Thursday, 25 October 2001 15:56:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT