Comment syntax table:
| Comment type | Syntax or possible value |
|---|---|
| standard HTML comment | <!-- Comment content --> |
| downlevel-hidden | <!--[if expression]> HTML <![endif]--> |
| downlevel-revealed | <![if expression]> HTML <![endif]> |
Supported features table:
| Item | Example | Comment |
|---|---|---|
| IE | [if IE] | The string "IE" is a feature corresponding to the version of Internet Explorer used to view the Web page. |
| value | [if IE 7] | An integer or floating point numeral corresponding to the version of the browser. Returns a Boolean value of true if the version number matches the browser version. |
| WindowsEdition | [if WindowsEdition] | Internet Explorer 8 on Windows 7. The string "WindowsEdition" is a feature corresponding to the edition of Windows used to view the Web page. |
| value | [if WindowsEdition 1] | An integer corresponding to the edition of Windows used to view the Web page. Returns a Boolean value of true if the value matches the edition being used. |
| true | [if true] | Always evaluates to true. |
| false | [if false] | Always evaluates to false. |