There are three different ways to bold or italicize text in XHTML:
- Via CSS, using the “font-weight:bold” and “font-style:italic” styles.
- By using the <strong> and <em> (“emphasis”) elements.
- By using the <b> (“bold”) and <i> (“italics”) elements.
The <strong> and <em> Elements
We will use only CSS to bold and italicize text in this course.