HTML and CSS Reference
In-Depth Information
FiGure 7-3
Try iT
In this Try It you learn how to set font size and double-space a paragraph.
Lesson requirements
You will need your previously saved file thoreau.html , a text editor, and a web browser.
step-by-step
1.
Open your text editor.
2.
Open the previously saved thoreau.html .
3.
Place your cursor in the p CSS rule, at the end of the font-family declaration, and press
Enter (Return).
4.
Enter the following code:
font-size: 12px;
line-height: 24px;
5.
Save your document.
6.
In your browser, open thoreau.html to view the font changes, shown in Figure 7-4.
Search WWH ::




Custom Search