This Site Used Valid HTML, Then Drupal Got To It
This page is valid HTML 4.01 Strict!
...Or, rather, it was valid HTML 4.01 Strict.
Then Drupal got to it, and decided to make it invalid HTML/XHTML Nonstandard Random Useless Crap.
Namely, Drupal has decided to do the "Fake Empty Element" dance. That's where valid HTML tags, like "
<link>," are turned into invalid HTML tags like "
Such a tag would be valid XML and therefore (might) be valid XHTML.
But this page doesn't use XHTML for a few very simple reasons:
- Internet Explorer doesn't support XHTML.
- XHTML doesn't offer anything more than HTML does.
So by changing every empty HMTL tag into an empty XML tag, Drupal has taken what used to be valid HTML and translated it into invalid HTML.
Thanks a bunch.