note
tmoertel
<blockquote><em>The closing li tags <strong>were</strong> optional in
HTML, up through middle-to-late 1990s. This is no longer true for any
even remotely recent version of HTML. The last several versions of
HTML are XML document types, so all tags must be
closed.</em></blockquote>
That is not correct. HTML and XHTML are not the same, and
<em>every</em> version of HTML is an application of SGML. HTML thus
allows for markup minimization when the corresponding document-type
definition (DTD) says so, and all of the HTML DTDs – going back
to the <a href="http://www.w3.org/MarkUp/html-spec/html.dtd">original
version</a> – define the <tt>LI</tt> element's end
tag to be optional.
<p>As long as Perl Monks is served up in HTML, it will be perfectly
acceptable to omit any tags the corresponding DTD says are optional.
<p>The W3C's <a href="http://www.w3.org/MarkUp/2004/xhtml-faq" >HTML
and XHTML Frequently Answered Questions</a> addresses the underlying issues in
detail.
<p>Cheers,<br>Tom
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-109406">
<p><small><strong>Tom Moertel</strong> : <a href="http://blog.moertel.com/">Blog</a> / <a href="http://community.moertel.com/ss/space/Talks">Talks</a> / <a href="http://search.cpan.org/~tmoertel/">CPAN</a> / <a href="http://community.moertel.com/LectroTest">LectroTest</a> / <a href="http://community.moertel.com/ss/space/PXSL">PXSL</a> / <a href="http://community.moertel.com/ss/space/A+Coder%27s+Guide+To+Coffee">Coffee</a> / <a href="http://community.moertel.com/ss/space/IMDB+Movie-Rating+Decoder+Ring">Movie Rating Decoder</a></small></p>
</div></div>
487951
488084