我是一个Rails的初学者。
在我的示例应用程序中编写CSS。我知道有JavaScript代码可以帮助浏览器,例如Internet Explorer,支持HTML5。
HTML5 Shim和HTML5 Shiv之间有什么区别?这值得了解吗?
http://html5shim.googlecode.com/svn/trunk/html5.js
http://html5shiv.googlecode.com/svn/trunk/html5.js
我的代码:
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
</script>
<![endif]-->
/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
。 - user824425