[quote user="irelam"]Some Html is *so* bad that the agent cleaning up Html, Tidy, aborts completely.[/quote]
Good grief ... although, I guess, not surprising: Tidy when used at the W3C website (or however else), will sometimes put up a message that it's been offered mark-up with, for example, so many proprietary extensions it can do nothing with it.
One supposes that the relative leniency of HTML parsers in the past was probably a factor in the rapid expansion of the web: anyone could put a page up, and, within limits, it could be read even if it were pretty horribly written. But, goodness, it's led to bad mark-up being almost more the rule than the exception. It's said that many of the XHTML webpages out there would break if actually served as application/xhtml+xml (as at least some versions of XHTML really should be) rather than as text/html, because XML parsers aren't, and aren't supposed to be, "forgiving".
<p>[quote user="irelam"]Some Html is *so* bad that the agent cleaning up Html, Tidy, aborts completely.[/quote]</p><p> </p><p>Good grief ... although, I guess, not surprising: Tidy when used at the W3C website (or however else), will sometimes put up a message that it's been offered mark-up with, for example, so many proprietary extensions it can do nothing with it.</p><p> </p><p>One supposes that the relative leniency of HTML parsers in the past was probably a factor in the rapid expansion of the web: anyone could put a page up, and, within limits, it could be read even if it were pretty horribly written. But, goodness, it's led to bad mark-up being almost more the rule than the exception. It's said that many of the XHTML webpages out there would break if actually served as application/xhtml<span class="Apple-style-span" style="font-family: arial; ">+xml (as at least some versions of XHTML really should be) rather than as text/html, because XML parsers aren't, and aren't supposed to be, "forgiving".</span></p>