IE条件注释

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 3 <head>
 4     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
 5     <title></title>
 6 </head>
 7 <body>
 8     <!--[if lt IE 7]><html class="no-js ie ie6 lte9 lte8 lte7"><![endif]-->
 9     <!--[if IE 7]><html class="no-js ie ie7 lte9 lte8 lte7"><![endif]-->
10     <!--[if IE 8]><html class="no-js ie ie8 lte9 lte8"><![endif]-->
11     <!--[if IE 9]><html class="no-js ie ie9 lte9"><![endif]-->
12     <!--[if gt IE 9]><html class="no-js"><![endif]-->
13     <!--[if !IE]><html><![endif]-->
14 </body>
15 </html>
原文地址:https://www.cnblogs.com/qzsonline/p/2582782.html