HTML and CSS Reference
In-Depth Information
You can download the code and resources for this exercise from the topic's web
step-by-step
1.
Open your text editor.
2.
From the Lesson_07 folder, open
thoreau.html
.
3.
Place your cursor at the end of the
<style>
tag and press Enter (Return).
4.
On the new line, enter the following code:
h1, h2 {
font-family: “Lucida Sans Unicode”, “Lucida Grande”, sans-serif;
}
5.
Press Enter (Return) and enter the following code:
p {
font-family: Georgia, “Times New Roman”, Times, serif;
}
6.
Save your text document.
77
7
In your browser, open
thoreau.html
to review the rendered code, as shown in Figure 7-1.
FiGure 7-1