Moreno Prog6assign1qtr2 1
Moreno Prog6assign1qtr2 1
Assignment
webpage. Here are some key font properties, their definitions, and
examples:
Font Family
* Example:
Font Size
Font-size: 16px;
Font-size: 1.2em;
Font-size: 120%;
Font Style
* Example:
Font-style: italic;
Font-style: normal;
Font Weight
* Example:
Font-weight: bold;
Font-weight: normal;
Font-weight: 700;
Font Variant
* Definition: Controls the font variant, typically used for small caps.
* Example:
Font-variant: small-caps;
Font-variant: normal;
Line Height
* Example:
Line-height: 1.5;
Line-height: 20px;
Letter Spacing
Letter-spacing: 2px;
Letter-spacing: 0.5em;
Word Spacing
* Example:
Word-spacing: 5px;
Word-spacing: 0.2em;
Text Transform
* Example:
Text-transform: uppercase;
Text-transform: lowercase;
Text-transform: capitalize;
Text Decoration
strikethroughs to text.
* Example:
Text-decoration: underline;
Text-decoration: overline;
Text-decoration: line-through;