Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is HTML5shiv.js?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 854
    Comment on it

    Hello all,

    In this blog we will discuss about HTML5shiv.js, as all known html 5 in on demand.

    But some new Semantic Elements which are not accepted by browser like Internet Explorer-9 there was little to no support for HTML5 elements and other HTML5 feature but HTML5Shiv.js allows Internet Explorer prior recognize the HTML5 tags and allows them to be styled using CSS.

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

    Alexander Farkas, Jonathan Neal and Paul Irish are the know ones who maintained HTML5 Shiv along with a lot contributions from John-David Dalton. It is also distributed with Modernizr.

    This script does not require jQuery. It's just vanilla JavaScript and will work with any library or library at all.

    Example:-

    Its very simple to use HTML5 shiv on HTML page, you can use without installation of the library This example for how to conditionally include Internet Explorer browsers less-than version 9.

    <!DOCTYPE html>
    <html>
         <head>
             <!--[if lt IE 9]>
             <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.min.js"></script>
             <![endif]-->
         </head>
             <body>
            </body>
    </html>
    

    Latest Version

    HTML5 Shiv Print v3.7.2 | @afarkas @jdalton @jon_neal @rem | HTML5 v3.6.0/3.6.2 - v.3.7.0 is Outdated!

    HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: