PHP - Colon Syntax (:) The colon syntax can be useful when in project views/partials where you are mixing html and php. Below are some examples for quick reference.Tags: phpphp statement if