102
Set the Font and Text Size on Your Page ..................
2 Within the style block, type
body.
3 Press.
4 Type {.
1 In your editor, open a page
that contains an embedded
style sheet.
Set the Font and Text Size on Your Page
T
ypography is very limited on the Web. Web pages do not contain embedded fonts; rather, they
merely contain a set of instructions to the browser as to what font should be used. The CSS
font-face property is used to provide these instructions on what fonts to use. The font-size
property allows you to set the size of your text. These properties can be applied to any element that
can contain text, such as a heading or paragraph, or to the page as whole, as in the example below.