Hour 6. Text Formatting and Font Control

In this hour you learn to control the appearance of the text on your pages. You'll learn to incorporate boldface, italics, superscripts, subscripts, underlining, and strikethrough text into your pages, as well as how to choose typefaces and font sizes.

This chapter also shows you how to create special symbols, such as the copyright mark, and European language characters such as the é in Café.

Note

There are two completely different approaches to controlling text formatting and alignment in HTML 4. The tags you study in this chapter (and the align attribute from Hour 5, "Text Alignment and Lists" ) are the "old way,"  which is actually officially discouraged. The "new way"  is introduced in Hour 16, "Using ...

Get Sams Teach Yourself HTML 4 in 24 Hours, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.