The slash being treated as optional is the best possible result, not the worst.

That's a matter of opinion, I'm sure some people would rather see XHTML win out over HTML 5.

It sounds like you're saying transitional documents don't have to be well-formed, and that's not true.

Oh really? The front page of perlmonks renders just fine in my browser but it's not even close to a well-formed document. To clarify, I believe there are two ends of the spectrum: what works and what is correct. Many websites work just fine with broken HTML. Many times, the HTML is intentionally broken to support browsers that don't support standards. I really don't mean to criticize perlmonks here, it works and that's all I ask, but the site doesn't exactly validate.

Myself, I strive to write correct code in any language and to comply with any applicable standards to the best of my ability.


In reply to Re^3: For valid HTML by rowdog
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.