IE Conditional Tags

Internet Explorer has rendering bugs that vary across all versions. Microsoft has included some conditional comment tags that are specific to their IE browsers since IE5. These are really helpful if you need to include a CSS or JS file to fix layout quirks:

<!--[if IE]> Instructions for all IE browsers <![endif]-->
<!--[if lte IE 7]> Instructions for IE7 or earlier <![endif]-->
<!--[if IE 6]> Instructions for IE6 only <![endif]-->