That's a matter of opinion

No opinion. It really is illegal HTML, and that working to not working is the range of behaviour.

Ok, I suppose saying having it work is the best behaviour is an opinion. But seriously? You'd say browsers throwing errors at the slash would be better? For whom??

I'm sure some people would rather see XHTML win out over HTML 5.

That makes no sense. They're orthogonal. HTML 5 has an XML serialization too.

Oh really? The front page of perlmonks renders just fine in my browser but it's not even close to a well-formed document

I was expecting a counter example after "Oh really?". You need to show that the page wouldn't be rendered fine if the strict DTD was specified to contradict me. Browsers expect a tag soup for HTML docs no matter what DTD (if any) is specified.

To clarify, I believe there are two ends of the spectrum: what works and what is correct.

Earlier you were disagreeing with my opinion that having bad HTML work anyway is the best behaviour. Now you agree with it. What are you trying to say?


In reply to Re^4: For valid HTML by ikegami
in thread For valid HTML by Lady_Aleena

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.