CSS Syntax

selector : { declaration }

selector = element to be styled
declaration = consists of CSS property and value
format of declaration: { property: value }

Type Selectors:
body
p
img
div
span
b
i

*almost any other html tag within the body

Example:
body { font-size: 10px; font-weight: bold }

Attribute Selectors:
class
id

Example of class:
.big{ font-size: 50px; }

use in html tag:
<p class=big>hello<p>

Example of id
#big{ font-size: 50px; }

use in html tag:
<p id=big>hello<p>