Posted by David Dorward on 01/23/06 10:12
John Salerno wrote:
>> You are quite right that many are against using XHTML at all. I am not
>> one of these and now write and serve most new pages as true xhtml 1.1
>> to browsers that will accept it and as html 4.01 strict to IE6 and
>> other browsers that do not say they will accept the mime type
>> application/xhtml+xml in the header exchange.
> But is this an issue if you use XHTML 1.0 instead?
XHTML 1.0 has Appendix C which includes some rules to make it "compatible"
with HTML, and if you follow those rules the you are allowed to serve it as
text/html.
The main problems are that there is a lack of tools on the market for
testing Appendix C conformance, that its too easy to do silly things like
comment out a style sheet (thanks to differences between XHTML and HTML),
and that Appendix C doesn't make the document HTML compatible, it makes it
compatible with HTML browsers which share certain common (but *not*
universal) bugs.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|