IE条件注释是一种特殊的HTML注释,这种注释只有IE5.0及以上版本才能理解.比如普通的HTML注释是: <!--This is a comment--> 而只有IE可读的IE条件注释是: <!--[if IE]> <![endif]--> “非IE条件注释”: <!--[if !IE]>--> non-IE HTML Code <!--<![endif]--> “非特定版本IE条件注释”(很少用到): <!--[if ! l
在学习Bootstra的时候看到这么一句话, <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://cdn.b