HTML5shiv also adds 'default' styling to the elements (and a neat stylesheet).
HTML5shiv vs document.createElement (%html5tag%)
-
28-06-2023 - |
Question
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]-->
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow