Font Family
There are default fonts on any computer that you can set for your page.
You can use a generic font family name or a specific font family name. This first example shows a generic font family:
h1 {font-family: monospace;}
Font Size
Font size can be set with
ems, percentages (%), pixels (px), or with set values like
small, medium & etc. You can choose whichever unit you prefer but not all browsers will display each kind of unit in the same way.
body {font-size: 12px;} (most precise from browser to browser but the least flexible)
Font Style, Varients, Weight
If you want italics, use font-style:
h1 {font-style: italic;}
If you want smaller capital letters after a capitalized letter use font-variant:
h2 {font-variant: small-caps;}
If you want to change your font weight, you can use font-weight:
h3 {font-weight: bold;} or
h3 {font-weight: 200;}Font-style, font-variant, and font-weight all have other possible values, but this should get you started.