HTML — Bold and Italic Text
To make text bold, use the <strong>
or <b>
tag. To make it italic, use <em>
or <i>
.
<strong>
and <em>
also have meaning for accessibility (screen readers).
<p>This is <strong>important</strong> text.</p>
<p>This is <em>emphasized</em> text.</p>