O'Reilly logo

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition by Rafe Colburn, Laura Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 7. Formatting Text with HTML and CSS

Over the previous three 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 learn about most of the remaining tags in HTML that you need to know to construct pages, including how to use HTML and CSS to do the following:

• Specify the appearance of individual characters (bold, italic, underlined)

• Include special characters (characters with accents, copyright marks, and so on)

• Create preformatted text (text with spaces and tabs retained)

• Align text left, right, and centered

• Change the font and font size ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required