Curriculum ▸ HTML Zero → Mastery ▸ Lesson 20: Strong Importance (<strong>) Foundations

Lesson 20 — Strong Importance <strong>

Learning Goals

Part 1 — What is <strong>?

The <strong> element marks text as having strong importance. By default, browsers render it in bold, but it also carries meaning for search engines and screen readers.

Compare: <b> only changes appearance (bold), while <strong> adds semantic weight.

Part 2 — Example

<p>Warning: <strong>Do not</strong> touch the wires.</p>
<p>This is <b>bold text</b> without extra meaning.</p>

Result: Both look bold, but <strong> communicates urgency to users and assistive tech.

Part 3 — Best Practices

Part 4 — Common Mistakes

Quick Quiz

  1. What does <strong> do?
  2. How is <strong> different from <b>?
  3. When should you use <strong> instead of <b>?
Sample Answers
  • It marks text as strongly important and bolds it visually.
  • <strong> adds meaning; <b> is only style.
  • When the text conveys urgency, warnings, or critical importance.

Mini Project — Warning Label

Create a “Safety Instructions” page. Use <strong> to mark critical warnings (e.g., “Always unplug the machine before cleaning”). Compare with a version using <b> only.

Lesson 20 Dictionary

<b> (Bold)
A stylistic element that makes text bold without semantic meaning.
<strong> (Strong Importance)
Marks text as strongly important; bold by default and meaningful for accessibility/SEO.