On Fri, Feb 16, 2007 at 11:13:50AM +0200, Frank Palinkas wrote: > You'll probably think I'm completely bonkers, but after years of writing > XHTML 1.1 and its respective DTD with a MIME type of application/xhtml+xml, > I've switched back to using HTML 4.01 Strict with a MIME type of text/html.
Bonkers? No. I switched back a few years ago. > I've entered a comment after the closing head element in each web page (just > getting started with that) stating that the markup conforms to the W3C > Recommendation for XHTML 1.1, and that the use of the HTML 4.01 DTD and MIME > type of text/html is for the benefit of legacy browser/user agents. The markup can't conform to both XHTML 1.1 and HTML 4.01 Strict. Since: (a) They have different Doctypes (b) HTML 4.01 doesn't use XML-style empty element tags (c) HTML doesn't have xmlns, but XHTML requires it (d) HTML has lang, XHTML 1.1 has xml:lang and for accessibility reasons this should be included. -- David Dorward http://dorward.me.uk ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
