能用条件注释改善的IE兼容问题

### 条件注释

- 条件注释的作用就是当判断条件满足时,就会执行注释中的HTML代码,不满足时会当做注释忽略掉

eg:

<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]-->
<!--[if IE]> 所有的IE可识别 <![endif]-->
<!--[if IE 6]> 仅IE6可识别 <![endif]-->
<!--[if lt IE 6]> IE6以下版本可识别(不包括IE6) <![endif]-->
<!--[if gte IE 6]> IE6以及IE6以上版本可识别 <![endif]-->
<!--[if IE 7]> 仅IE7可识别 <![endif]-->
<!--[if lt IE 7]> IE7以下版本可识别(不包括IE7) <![endif]-->
<!--[if gte IE 7]> IE7以及IE7以上版本可识别 <![endif]-->
<!--[if IE 8]> 仅IE8可识别 <![endif]-->
<!--[if IE 9]> 仅IE9可识别 <![endif]-->

让低版本浏览器可以支持CSS媒体查询功能

[respond](https://github.com/scottjehl/Respond)

让低版本浏览器可以识别HTML5的新标签,如header、footer、section等

[html5shiv](https://github.com/aFarkas/html5shiv)
原文地址:https://www.cnblogs.com/Vayne-N/p/7641066.html