HTML5 Shiv Google CDN Link Not Working

Alex picture Alex · May 14, 2016 · Viewed 17.9k times · Source

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]-->

Answer

Vikash Pandey picture Vikash Pandey · May 19, 2016

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 :)