You are here: Re: W3C complience checker and conformance « HTML « IT news, forums, messages
Re: W3C complience checker and conformance

Posted by Jim Higson on 05/03/06 21:25

David Dorward wrote:

> Jim Higson wrote:
>
>> If you want the document to be HTML, close using </foo>
>
> No, don't.
>
> The META element
> Start tag: required, End tag: forbidden
> http://www.w3.org/TR/html4/struct/global.html#h-7.4.4
>
> Document relationships: the LINK element
> Start tag: required, End tag: forbidden
> http://www.w3.org/TR/html4/struct/links.html#h-12.3

Ok. It'd been so long since I'd coded using HTML.

>> If you want the document to be XHTML, you can use either.
>
> Not if you plan to serve as text/html
> http://www.w3.org/TR/xhtml1/#C_2
> http://www.w3.org/TR/xhtml1/#C_3

The debate continues...

My argument is that as an optimist I like to code for the good browsers and
then do what I can to make up for deficiencies in the bad one. In this case
that means sending XHTML with the correct MIME type to everything except
IE. Just like I send standards-compliant CSS to everything but IE.

Anyway, the arguments about not serving XHTML as text/html are good ones,
but my preference is to fall back on parsing tolerance in the crusty
non-xhtml browser rather than worry about having to convert all my pages to
XHMTL in the future.

--
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация