|
Posted by Tim Bradshaw on 04/20/07 09:57
On Apr 20, 8:48 am, rem6...@yahoo.com (Robert Maas, see http://tinyurl.com/uh3t)
wrote:
> but I saw
> an awful lot of bad HTML in the Google-Groups Advanced-Search page,
> such as many <b> and <font> that were opened but never closed, and
> also lots of <p> <p> <p> that weren't closed either. Even some
> unclosed elements of tables.
Depending on the version of HTML (on the DTD in use) omitted closing
tags may be perfectly legal. SGML has many options to allow omission
of tags, both closing and opening. This is one of the things that XML
did away with as it makes it impossible to build a parse tree for the
document unless you know the DTD. So obviously they are not omissable
for any document claiming to be XHTML I think.
P for instance has omissable close tags in HTML 4.01
--tim
Navigation:
[Reply to this message]
|