![]() |
![]() |
|
| Home I Company I Services I Documentation I Downloads I E-Support |
| home -> documentation -> language reference -> IF tag | ||||||
|
Conditional statement that includes the delimited block if the specified condition is true, otherwise includes the block delimited by the optional ELSE tag.
The IF tag is one of the most important features of many languages, and DBSP is not the exception. This element allows the conditional execution of HTML code fragments. Moreover, IF tags can be nested indefinitely within other IF tags, which provides you with complete flexibility over conditional execution on your DSBP pages.
Example 1. Creating a common header for several pages. The following example shows you how to create a header file and use it inside several pages. Source code
examples/eif.dbsp
Test example
|