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

Home > Articles > Web Design & Development > HTML/XHTML

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

Marking Important and Emphasized Text

The strong element denotes important text, whereas em represents stress emphasis. You can use them individually or together, as your content requires (red-a.jpg and red-b.jpg).

red-a.jpg The first sentence has both strong and em, whereas the second has em only.


Click to view larger image

red-b.jpg Browsers typically display strong text in boldface and em text in italics. If em is a child of a strong element (see the first sentence in gray-a.jpg), its text will be both italicized and bold.

To mark important text

  1. Type <strong>.
  2. Type the text that you want to mark as important.
  3. Type </strong>.

To emphasize text

  1. Type <em>.
  2. Type the text that you want to emphasize.
  3. Type </em>.
  • + Share This
  • 🔖 Save To Your Account