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

Chapter 8. Fonts and Characters > Using Text Styles

Using Text Styles

You're probably used to using text styles, such as bold, italic, and underline, in your word-processing program or page-layout tool. You can use these styles in HTML, too, to add emphasis or visual contrast to pieces of text.

There are two kinds of styles in HTML: physical and logical. Physical styles tell the text exactly how to look, whereas logical styles suggest a function and let the browser decide how to interpret it. For example, <b> (bold) is a physical style. On the other hand, <strong> (strong emphasis) is a logical style. Although most graphical browsers display the <strong> tag as bold text, other software may treat it differently. Text-to-speech browsers, for instance, may read <strong> text with verbal emphasis.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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