HTML and CSS Reference
In-Depth Information
cOnDitiOnal stateMents
In a nested if structure , one
if statement is placed within
another ; the nested if
statement is run only if the
conditional expressions of
both the outer and inner if f
statements are true.
The or operator (||) is used when
either of two co n ditions may be
true for the ent ir e conditional
expression to b e true.
If either of the t wo conditions
joined by an or o perator is true,
then the entire conditional
expression is true.
Search WWH ::




Custom Search