Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

LESSON 7


Formatting Text with


HTML and CSS


Over the previous lessons, you learned the basics of HTML, including
tags used to create page structure and add links. With that background,
you’re now ready to learn more about what HTML and CSS can do in
terms of text formatting and layout. In this lesson, you’ll learn about
many of the remaining tags in HTML that you’ll need to know to construct
pages, including how to use HTML and CSS to do the following:


n Specify the appearance of individual characters (bold, italic,
underlined)
n Include special characters (characters with accents, copyright
marks, and so on)
n Create preformatted text (text with spaces and tabs retained)
n Align text left, right, and centered
n Change the font and font size
n Create other miscellaneous HTML text elements, including line
breaks, rule lines, addresses, and quotations
Free download pdf