Changing the typeface isn't the only way to customize text. Often times, different sections of a web page and are highlighted by modifying the font size.
To change the size of text on your web page, you can use the
In the example above, the
font-size of all paragraphs was set to
18px. What exactly does
Measurements require units in order for them to be useful (for example kilograms for weight, or miles for distance). Font size also requires a unit of measurement.
In the next exercise, we'll explore in detail the units of measurement available for font size.