February 5, 2002
IE5 Conditional Comments
Something interesting: IE5 conditional comments, which are basically <!-- comment --> tags that use conditional logic to hide HTML content from older browsers. From the MSDN site:
The HTML Comment is recognized by practically every browser. With this type of comment, all the content inside the tag is completely ignored by the browser. The HTML shown inside the syntax block in each of the conditional comments denotes any block of HTML content, including script. Both types of conditional comment use a conditional expression, which is recognized in Internet Explorer 5 and later versions. If the expression is true, the content inside the comment block is parsed and rendered.








