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

Posted by Spartanicus on 05/04/06 13:13

Mark Parnell <webmaster@clarkecomputers.com.au> wrote:

>> It is valid, but DTD validation has it's limitations, even more so for
>> XHTML, this is one of those limitations.
>
>So would you care to show some sort of reference as to why it is
>"incorrect XHTML" to use a closing tag on an empty element, since the
>part of the specs I quoted says that it *is* correct?

I shouldn't have suggested that it was a spec compliance issue. Although
there isn't even a "SHOULD NOT" recommendation in the spec, and the
informative note you quoted even suggests the opposite, I consider using
a closing tag for empty elements poor practice, on par with quick
closing non empty elements, which IIRC is expressed as a "SHOULD NOT" in
the spec.

--
Spartanicus

 

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

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