HTML and CSS Reference
In-Depth Information
sessiOn 12.3 visual Overview
T he conditional
s tatement in a simple
i if statement is either
t r ue or false.
In a simple if statement , an
expression is t e sted for
being true or if a lse; if true, a
specified com m and is run.
The command in a
simple if s tatement
is run if t h e
condition is true.
The first command
block in a n if else
statement is run if
the condit i on is true.
The e q uals operator
(==) is used to test
whether one value
equals another.
The second command
block in an if else
statement is run if the
condition is false.
In an if else statement
one command block is
run if the statement is
true, while a second
command block is run if
the statement is false.
Search WWH ::




Custom Search