Is there any benefit of using html5shim library over document.createElement('header')?

StackOverflow https://stackoverflow.com/questions/7105398

  •  20-12-2020
  •  | 
  •  

Frage

What is difference between using

<!--[if IE]>
<script>
  document.createElement('header');
  document.createElement('footer');
  document.createElement('section');
  document.createElement('nav');
</script>
<![endif]-->

instead

<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
War es hilfreich?

Lösung

I believe that the HTML shim library also includes the IE print Protector

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top