Using HTML's conditional commenting: clarification on "gte"

643 Views Asked by At

Is the HTML in this conditional comment seen by all non-IE browsers in addition to IE8, IE9, etc.?

<!--[if gte IE 8]>html goes here<![endif]-->

1

There are 1 best solutions below

1
On BEST ANSWER

No. It's a valid HTML comment so that code is hidden to non-IE browsers and IE 10 and 11 as they do not support conditional comments. So basically only IE 8 and IE 9 will see that content.