/ Published in: HTML
HTML conditional comments used to target specific versions of Internet Explorer (is ignored by all other browsers).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- Condtional comment: All IE Versions --> <!--[if IE]> This is Ineternet Explorer <![endif]--> <!-- Condtional comment: IE6 only --> <!--[if IE 6]> This is Internet Explorer 6 <![endif]--> <!-- Condtional comment: All IE versions after 5 --> <!--[if gt IE 5]> This Internet Explorer was released after IE5 <![endif]--> <!-- Condtional comment: All IE versions before 8 --> <!--[if lt IE 5]> This Internet Explorer was released before IE8 <![endif]-->