Forum Moderators: open
It has nothing to do with pinterest.
Still wondering what they'll do when HTML 6 comes along.
The brainiacs at whatwg assume browsers will be good enough by then to not need versions of html anymore and switch to an evolving standard without versions.
Still wondering what they'll do when HTML 6 comes along.
Living Standardis a contradio in terminis.
The dtd for HTML 5
A real standard (one that's not a moving target) is e.g. needed in contracts between a web developer and a site owner. You can't validate the work if the standard you agreed upon shifted (maybe or maybe not) during the work.
That's another of those "bright" ideas: they dot rid of that pesky dtd as it was enabling us to say "invalid" all too easy.
The tag soup promotion in the html5 specs and the attitude of everything is optional is just pain wrong.
The SOLE purpose of a doctype for HTML is for Internet Explorer.
XML did NOT abandon the DTD and true XML can still use custom DTDs.
The so-called "HTML5 doctype", as someone else said, notice there is no "5" in there. While it's allowed to use lowercase 'doctype' in this new version, uppercase was always required in the past and still works and validates with the new version.
You're assuming "standard" = "implemented interoperably in browsers".
This has never been the case,
A DTD isn't required for validation,
Late 90s cargo-cult XHTML-fandom seems to be the problem here The spec defines HTML and XHTML serialisations, so there's nothing to stop you using XHTML, but most people prefer to spend their time on stuff that actually matters.
This "layout mode switching by doctype" was first proposed for NGLayout in Netscape 5 ~1998, but first implemented in IE5/Mac ~2000. It's now used by all browsers to switch layout mode as I pointed out above.Yes, and the SOLE purpose of a doctype was cause Internet Explorer screwed everything up with quirks. If it weren't for that, you would not need a doctype at all.
The HTML doctype declaration is not case sensitive, so either way is fine.Yes, that's what I said. The NEW doctype is not case sensitive but anything before this one IS case sensitive.
"HTML5" will be ten years old next year.