" /> " /> "/>

HTML5 Shiv Google CDN Link Not Working

18.9k Views Asked by At

This Shiv Google CDN Link Not Working. What Should I Do?

<!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
2

There are 2 best solutions below

1
Vikash Pandey On

This was happening because the CDN link has been updated for html5shiv.

Try this from CDNJS instead:

<!--[if lt IE 9]>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->

Hoping this will help you :)

0
Sonia On

It's good but I think is better don't add https://

So try with:

src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"

Source: https://github.com/twbs/bootstrap/commit/2b802d651dbe4305221cc7c4a2e45123b9e8b699