Web Design with HTML and CSS

(National Geographic (Little) Kids) #1
Lesson 6, Formatting Text with CSS 113

What you’ll learn in


this lesson:



  • Using the font-family
    property

  • Setting the size of
    your text

  • Working with the
    em measurement

  • Changing text properties

  • Using HTML lists


Formatting Text with CSS


In this lesson, you’ll learn how to control the appearance of text on


your web pages using CSS styling.


Starting up


You will work with several fi les from the web06lessons folder in this lesson. Make sure you have
loaded the weblessons folder onto your hard-drive from http://www.digitalclassroombooks.com/webdesign.
See “Loading lesson fi les” in the Starting Up section of this book.


See Lesson 6 in action!
Use the accompanying video to gain a better understanding of how to use some of
the features shown in this lesson. You can fi nd the video tutorial for this lesson at
http://www.digitalclassroombooks.com using the URL provided when you registered your book.

Although this lesson uses the TextWrangler text editor to create the markup, you can use any of
the text editors covered in Lesson 3 and get the same results.

6


Lesson 6

Free download pdf