There are two types of escaping from HTML. 1.Normal escaping of using outside of a pair of opening and closing tag 2.Advance escaping of using conditions. Example of normal escaping <p>This is going to be ignored by the php parser and displayed by the browser</p> <?php echo 'This is going to be parsed';?> <>This will also ignored by the php parser and displayed by the browser</> Example of advanced escaping <?php if($expression == true): ?> This will show if expression is true <?php else : ?> Otherwise this will show <?php endif ;?>