[Fwd: [W3Qc-public] XHTML]

I received the following remark and link about a site I will have to 
care of.

What do you think about the idea of going back to HTML 4.01 because XHTML 1.0 is delivered as text/html ?




Replace this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

with this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">

XHTML is actually not supported by IE. The way you have it now works
(you send it as text/html, and browsers handle it as such), but it
defeats the purpose of XHTML and could cause problems in the future (see
http://www.hixie.ch/advocacy/xhtml)

-- 
Vincent François
Consultation Boréale
vincent@consultation-boreale.com
http://consultation-boreale.com

_______________________________________________
Public-w3qc.org mailing list
Public-w3qc.org@lists.w3qc.org
http://lists.w3qc.org/listinfo.cgi/public-w3qc.org



-- 
Vincent François
Consultation Boréale
vincent@consultation-boreale.com
http://consultation-boreale.com

Received on Friday, 6 May 2005 20:13:05 UTC