IEの独自拡張である条件分岐コメント(Conditional Comments) の書き方。条件に合致した場合、あるいは合致しなかった場合、コメント内の記述が適用される。
IEに適用(バージョンを限定しない)
<!--[if IE]>
<link rel="stylesheet" href="/css/ie.css" type="text/css" />
<![endif]-->
特定バージョン以下のIEに適用
<!--[if lte IE 6]>
<link rel="stylesheet" href="/css/ie.css" type="text/css" />
<![endif]-->
特定バージョン以上のIEに適用
<!--[if gte IE 6]>
<link rel="stylesheet" href="/css/ie.css" type="text/css" />
<![endif]-->
特定バージョンのIEのみに適用
<!--[if IE 6]>
<link rel="stylesheet" href="/css/ie.css" type="text/css" />
<![endif]-->