How The CSS Syntax Is Built Up
A CSS tag or the CSS syntax is built up using three elements:
- Selector
- Property
- Value
Example:
selector{property: value;}
The selector is generally the HTML element or tag that you wish to style or define
Example:
body{property: value;}
The property is the part of the selector that you wish to change.
Example:
selector{background: value;}
The value is the properties element which can accept single or multiple elements/values.
Example:
selector{property: #000000;}
From our 3 examples we tell the <body></body> tag that it has to have a black background
Example:
body{background: #000000;}


