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