HTML5shiv vs document.createElement (%html5tag%)
HTML5shiv vs document.createElement (%html5tag%)
健
壮的(在某种程度上)js HTML5shiv
和简单的IE条件之间有什么区别吗:?
<!--[if lte IE 9]>
<script>
document.createElement("main");
</script>
<![endif]-->
HTML5shiv 还为元素添加了"默认"样式(以及整洁的样式表)。