Domanda

Is there any difference amongst a robust (in a way) js HTML5shiv and just simple IE condition as such:?

    <!--[if lte IE 9]>
        <script>
            document.createElement("main");
        </script>
    <![endif]-->
È stato utile?

Soluzione

HTML5shiv also adds 'default' styling to the elements (and a neat stylesheet).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top