[TYPO3-core] RFC #8160: invalidate xHTML in Backend

Oliver Klee typo3-german-02 at oliverklee.de
Sat Apr 19 16:35:26 CEST 2008


Hi,

Hauke Mehrtens schrieb:
> <?xml version="1.0" encoding="utf-8"?>
> must be in the first line of the xHTML file and there must be an
> namespace declaration in the html tag like this:
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Having the XML prologue as the first line will make the XML valid, but 
it will also make IE6 render the page in quirks mode instead of in 
standards mode. The usual advice in this case is to remove the XML 
prologue altogether because it is not required for XHTML (the encoding 
is sent via the HTTP header anyway).

So -1.

Regards,


Oliver


More information about the TYPO3-team-core mailing list