Great job! You learned how to style an important aspect of the user experience—typography.
Let’s review what you’ve learned so far:
- Typography is the art of arranging text on a page.
- Text can appear bold or thin with the
- Text can appear in italics with the
- The vertical spacing between lines of text can be modified with the
- Serif fonts have extra details on the ends of each letter. Sans-Serif fonts do not.
- Fallback fonts are used when a certain font is not installed on a user’s computer.
word-spacingproperty changes how far apart individual words are.
letter-spacingproperty changes how far apart individual letters are.
text-alignproperty changes the horizontal alignment of text.
- Google Fonts provides free fonts that can be used in an HTML file with the
<link>tag or the
- Local fonts can be added to a document with the
@font-faceproperty and the path to the font’s source.
Using your new knowledge of CSS typography, feel free to edit the code further to make the web page more appealing!