Menu
Text & Formatting
<strong>, <em>, <b>, <i>
Bold and italic — semantic vs purely visual.
1Semantic vs Visual
<strong> means "important" (screen readers stress it), <em> means "stress emphasis". <b> and <i> are visual-only fallbacks — prefer the semantic ones.
Example Code
<p><strong>Warning:</strong> this is permanent.</p>
<p>This is <em>really</em> important.</p>
<p>The <b>HMS Beagle</b> set sail in 1831.</p>
<p>The Latin name is <i>Felis catus</i>.</p>Finished reading?
Mark this topic as complete to track progress.