Due to the discussions and hope generated in the web world around HTML5 I
too am switching back to HTML4.01 Strict. XHTML of whatever flavour seems to
elicit mutterings of consternation, and there isn't a good enough reason to
stick with it.

So, let's party like it's 1999 :0)

Chris




-----Original Message-----
From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
On Behalf Of Frank Palinkas
Sent: 16 February 2007 10:22
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] Living With Legacy

Thanks David,

You're right. I phrased that incorrectly in my message. My apologies in
giving the wrong impression. The comment reflects that the markup regardless
of DTD is valid, and conforms to rules for semantics and accessibility.

Frank

-----Original Message-----
From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
On
Behalf Of David Dorward
Sent: Friday, 16 February, 2007 12:00 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Living With Legacy

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]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to