Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 shim fallback? [duplicate]

Possible Duplicate:
HTML5 in IE6 when JavaScript is disabled

I've heard a lot of talk about using HTML5 now and just relying on a javascript shim as a fallback for < IE8. But what happens if the user has javascript disabled? It's a tricky situation. Could there be a fallback for the html5 shim fallback? What's your opinion on the matter?

like image 846
dustinliamc Avatar asked Dec 16 '10 02:12

dustinliamc


1 Answers

Pretty much, there cannot. The point of the shim is to force IE to recognize HTML5 tags via a hack of sorts, and there is no other way than Javascript to implement that hack. If there were, well, we wouldn't be using Javascript for this.

One blogger pointed out that you could use conditional comments to change what the tags themselves are if you really care that much about your no-Javascript IE users, but I'd recommend against that sort of ugly messing around unless it's for a very significant chunk of your users.

If they're using IE without Javascript, they're just asking for a degraded experience all around, really.

like image 88
Matchu Avatar answered Oct 05 '22 22:10

Matchu