Conditional comments

You aren't using Internet Explorer

Here's the code that produces the text above:

<!--[if IE]>
<p>You are using Internet Explorer.</p>
<![endif]-->
<!--[if lte IE 7]>
<p>You are using IE - less than or equal to IE7</p>
<![endif]-->
<!--[if gte IE 5]>
<p>You are using IE - greater than IE5</p>
<![endif]-->
<!--[if IE 6]>
<p>You are using Internet Explorer 6</p>
<![endif]-->
<!--[if IE 7]>
<p>You are using Internet Explorer 7</p>
<![endif]-->
<!--[if !IE]>-->
<p>You aren't using Internet Explorer</p>
<!--<![endif]-->

Return to description