CSS Syntax
CSS syntax is based on selector and declaration. The selector is basically an HTML element while as declaration consists of CSS property and value separated by a colon(:) and each declaration ends with a semicolon(;), and the declaration groups are surrounded by curly braces {}.