Tag Archives: Browsers

How Internet Explorer conditional comments work

Conditional comments are a special feature of the Internet Explorer browser that controls the display of any HTML content based on whether the visitor is using IE or another browser, and which version of IE they are using. They are supported by Internet Explorer versions 5 to 9 inclusive; from version 10, IE no longer supports conditional comments.

I’ve seen a lot of comments on websites and forums that misunderstand how condition comments actually work, so this post is an attempt to remedy that.

Continue reading How Internet Explorer conditional comments work