Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Voices That Matter

  • Print
  • + Share This
This chapter is from the book

Applying HTML Text Styles

The most common text formatting is to make text bold or italicized, and of course Dreamweaver can do that with either HTML markup or a CSS rule. But it can also apply several other text styles, some of which are for specialized uses, as shown in red_circle_a.jpg and Table 4.1.

Table 4.1 Text Styles




Makes text boldface.


Italicizes text.


Underlines text.


Text is shown with a line through it.


Reminiscent of an old typewriter. Usually shows text in a monospaced font such as Courier.


Italicizes text onscreen. Causes screen readers to stress importance in speech.


Bolds text onscreen. Causes screen readers to add additional importance to speech.


Depicts programming code, usually in a monospaced font.


Marks variables in programming code. Usually displayed as italics.


Meant to display sample output from a computer program or script. Usually displayed in a monospaced font.


Meant to depict text a user would type on the keyboard. Usually displayed in a monospaced font.


Used to mark citations and references. Usually displayed as italics.


Used to mark the first, defining usage of a term in a document. Usually displayed as italics (Safari on the Mac displays this as regular text).


Marks deleted text. Shown the same as strikethrough.


Marks inserted text. Shown the same as underlined.

Many of these text styles are meant for displaying programming or script code, so they won’t be used at all on many sites. Others, such as Underline and Strikethrough, are deprecated as of the HTML 4.01 standard, which means that they are obsolete and may not work in future browsers. Instead, you should use a CSS property. See “Dreamweaver CSS Categories” in Chapter 7.

To apply an HTML text style:

  1. Select the text you want to change.
  2. Choose Format > Style, and then choose the style you want from the submenu.

    The text’s appearance changes.

  • + Share This
  • 🔖 Save To Your Account