What does HTML5 mean for us?
diveintohtml5.org
diveintohtml5.org
And, of course, the content is awesome. Thanks for posting this, SlyShy!
We came dangerously close to removing huge amounts of nasty incompatibilities and integration issues by converging on XML as a syntactical standard for document formats. Now that HTML breaks away from this trend I look forward to vendors and in-house developers inventing all kinds of crazy new money making (for me) syntaxes!
Beauty peddlers I love you!
I can't tell if you're sarcastically lambasting HTML 5 or if you're mocking its detractors. Could you elaborate?
I do like other features in HTML 5 so I'm not lambasting it in general. But it's the W3C that steers the standardization of both HTML and XML. If XML is considered too complex or unsuitable for marking up web pages why don't they reform XML instead of inventing yet another very similar syntax?
In my opinion the W3C has lost a lot of credibility with this move.
Isn't this the exact opposite of creating a new syntax? You could level your same arguments against XML when it was introduced to browsers through XHTML.
XML was a grand vision to unify document formats and it sparked an entire trend of opening up all sorts of data. It wasn't just some small incompatible change to HTML syntax.
I don't see what it buys us to go back to an HTML specific syntax, but it could have very broad ramifications. XML may have been overused, but if the W3C cannot make it work for marking up web pages then XML is dead.
Removing XML from the data integration world and going back to building parsers for every shitty DSL idea that in-house developers come up with is going to cost the world economy dearly.
Some of that money is going to end up on my bank account, so I'm seriously ambivalent about lambasting this historical mistake.
I don't think that the requirements of being a valid XML document are all that onerous for HTML.
<!DOCTYPE html>
and not <!DOCTYPE html5>1. Does it work (i.e. trigger standards mode) in all browsers
2. Does it specifically identify content as HTML5 (as opposed to 6) i.e. versioning
For 1, html5 puts versions of Firefox into quirks mode so it's no go. For 2, versioning HTML5, I'm going to take a handy shortcut and assume that if Microsoft supports something it's probably bad for the internet.
There's a comment from Hixie here that touches on both issues: http://annevankesteren.nl/2005/07/html5-doctype#comment-4391
Something that caught my eye though: links now have a rel="noreferrer" option. This sounds like a pretty bad idea. It's not supported by any browsers yet, but if it worked it would blank out the referrer field on HTTP requests you make after clicking on a link.
There are only two use cases I can imagine:
1. You have some super-secret URL's that are not protected by any other authentication method, you want to avoid others sniffing them out from the referrer field. Verdict: your security is broken and cannot be saved by any standards body.
2. You're hosting a site with malicious XSS-loaded links and want to hide your tracks. OR you are executing CSRF attacks and want to hide your tracks. Verdict: this rel value is perfect for you.
Allowing a site to scrub its outgoing connections assumes a certain level of trust, which on the web ought not exist by default.
so he or she understands more about the different "html"s so to speak. (But then again, this is ycombinator....)
Is there a single good reason why anyone producing a website in HTML4 or XHTML couldn't move to HTML5 today?
If you avoid the new stuff (which you couldn't use with those formats anyway) then as far as I can tell you'd actually be using something better supported by IE6,7&8 than HTML4 and especially XHTML since a lot of HTML5 involved reverse-engineering and minutely specifying the real-word behaviors of those browsers so that other, more active, browser developers could more accurately copy and interoperate.
Maybe someone needs to have a validator target called "HTML5, the IE-supported subset".
I doubt the people who are saying "I'll support it when IE10 does" are referring to not closing their img tags. They're referring to all the actually interesting features of HTML5, the ones that actually have a potential of changing the web: canvas, video tag, etc etc. Incidentally, all the features that IE probably won't support for a very long time.
As stated before, most of these semantic changes were incorporated specifically because they already work, so chances are people are already using them. I doubt there's someone who is simultaneously adamant about using XHTML 1.0 style markup AND a big fan of IE backwards compatibility.
The truth of the matter is that the part of the spec outlined in this article reads more like a best practices sheet for "practical" HTML4 than a spec for HTML5. By that I mean, most of it already works, and it is not likely to significantly change the web.
As a side note I submitted this post while not logged in, was redirected to the login page, came back to my post and instead of showing "<p>" the input field had rendered a newline. Vulnerability of some sort?
Though he means "faster than IE", it sounds almost as if that script will speed up the page.