• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Text Formatting

Chapter 3. Text Formatting

If you're used to choosing your favorite font, size, and color from a set of familiar menus, formatting text in your Web page may seem a bit clumsy, even archaic. Instead of simply selecting the text and then the appropriate menu command, you'll enclose the desired text in tags that indicate the formatting style you wish to apply. Before you get too annoyed, remember that the beauty of HTML is that all the formatting is contained in text, and thus your pages can be read by any computer.

There are two methods for formatting text. The first, and more basic, method, described in detail in this chapter, uses regular HTML tags and attributes to format distinct pieces of text individually. Although the W3C has deprecated many of these tags—which means that they are still valid but that it hopes to remove them from the official specifications at some point in the future—they are still the easiest and most widely used formatting tools in HTML.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint