What's this script do ?

User 92156 Photo


Registered User
272 posts

When I open up a blank page in Editor v.14 there's this in the head section:
<!--[if IE]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
I'm just wondering what it does? (something to do with Internet Explorer? but that's all I know ...
User 1948478 Photo


Senior Advisor
1,850 posts

It helps older versions of Internet Explorer 'understand' the new tags in HTML5 - or at least prevent some of the stumbling:

http://www.w3schools.com/html/html5_browsers.asp

If you Google the whole string, you'll find a lot of explanations as well as alternative approaches.
User 92156 Photo


Registered User
272 posts

Thank you! :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.