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

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

  •  20-12-2020
  •  | 
  •  

문제

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]-->
도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top