views:

46502

answers:

10

Is there any HTML5 support in IE8? Is it on the IE8 roadmap?

+5  A: 

According to http://msdn.microsoft.com/en-us/library/cc288472(VS.85).aspx#html, IE8 will have "strong" HTML 5 support. I haven't seen anything discussing exactly what "strong support" entails, but I can say that yes, some HTML5 stuff is going to make it into IE8.

Marc
Well, IE8 is out and we don't see "strong HTML5 support" and Microsoft is not known for upgrading like other more modern browsers do so any "strong support" will have to wait for IE9, yet Microsoft has not said much of anything about HTML5 for IE9 either.
Rob
+26  A: 

IE8 beta 2 supports two APIs from HTML5: cross-document messaging and non-SQL storage.

IE8 beta 2 doesn’t implement the HTML5 parsing algorithm or the new elements (no <canvas> or <video> support).

There are also bug fixes that align IE8 better with HTML5.

hsivonen
so the answer is that for all fits and purposes, IE8 does *not* support html5 - just some randome bits and pieces of it.Which makes using HTML5 (as in HTML markup, not scripting API's) moot.
Roland Tepp
+11  A: 

Also are supported HTML5 hashchange event and ononline, offline event

Martin Hassman
+10  A: 

You can use this IE HTML5 shim script to gain a basic level of support for the new semantic elements in HTML5 such as <article>.

John
Nice tip :) thanks
Roland Tepp
Should point out that this doesn't help with certain JavaScript usages. For example, the following will not work:var div = document.createElement('div');div.innerHTML = '<section>test</section>';We end up with div.childNodes.length = 2. I ran into the problem using jQuery and have been trying to figure out what's going on in IE.
Nick Spacek
A: 

Modernizr is also a great option for giving IE HTML5 rendering capabilities.

Simon
From the Modernizer homepage - Modernizr does not add missing functionality to browsers; instead, it detects native availability of features and offers you a way to maintain a fine level of control over your site regardless of a browser’s capabilities.
Ira Miller
+1  A: 

You can read more about IE8 and HTML 5 support here:

http://blogs.msdn.com/giorgio/archive/2009/11/29/ie8-and-html-5.aspx

Giorgio Sardo
+4  A: 

HTML5 is still in draft spec (and will be for a loooong time). Why bother?

Aaron
+1 The question is almost 15 months old and you’re the first who mentioned that HTML 5 is still a draft.
Gumbo
Good point. Why bother? It is not like helping the web helps Microsoft. Hence, Silverlight and a not-so great browser.
tyndall
+1  A: 

Firefox, chrome and safari already supports HTML5, Opera is about to support it in a couple of months. So if you wan't to start enjoying the benefits of HTML5, stop using IE.

Marco Ortega
+3  A: 

You can get HTML5 tags working in IE8 by including this JavaScript in the head.

<script type="text/javascript">
 document.createElement('header');
 document.createElement('hgroup');
 document.createElement('nav');
 document.createElement('menu');
 document.createElement('section');
 document.createElement('article');
 document.createElement('aside');
 document.createElement('footer');
</script>
goker.cebeci
A: 

If you find this question offensive: "Is there any HTML5 support in IE8? Is it on the IE8 roadmap?", then you need to realize that IE8 is not a religion and also that you have no life. Nonetheless, IE8 does not fully support HTML5 and therefore, it does not. If you have a problem with that, take it up with Microsoft.

What question do I find offensive? I'm an atheist and have no idea what you are talking about.
tyndall
It was a reply to this: "This is a reasonable question, but could you make the question less offensive sounding? – Robert Gould Nov 14 '08 at 4:23"