Skip to main content


Delimits an ELSE block.




The CSP:ELSE tag, placed within a CSP:IF block, specifies that the text between it and the end of the CSP:IF are displayed if the CSP:IF CONDITION evaluates to FALSE at runtime.

For example:

  <CSP:IF CONDITION=(name="Jack")>
    Hello, Jack!
    Hello, someone who is not Jack!

Refer to the CSP:IF tag for more details.

Specifying Script Language

The CSP:ELSE tag will fire one of two rules depending on whether the language is set to cache or basic; these two rules are %ELSE and %ELSEBASIC.

FeedbackOpens in a new tab