</> ConvertAtlas Developer Tools
Getting Started Lesson 3 Beginner 12 min

Text and Headings

Headings, paragraphs and emphasis — the everyday elements that make up most of the web.

Most of the web is text, so the elements that structure text are the ones you will use most. In this lesson you will meet headings, paragraphs, and the tags that add emphasis and meaning to words.

Headings: h1 to h6

HTML has six levels of heading, from <code>&lt;h1&gt;</code> (the most important) down to <code>&lt;h6&gt;</code> (the least). They create a hierarchy, like a document outline. Use exactly one <code>&lt;h1&gt;</code> per page for the main title, then h2 for sections, h3 for subsections, and so on.

HTML · editable
Headings create a hierarchy — try adding an h4.
Headings are about meaningDo not pick a heading level just because of its size — pick it for its meaning in the outline. You will control size with CSS later. Skipping from h1 straight to h4 confuses screen readers and search engines.

Paragraphs and line breaks

Body text goes in paragraphs using the <code>&lt;p&gt;</code> element. For a single line break inside text — like in an address — use <code>&lt;br&gt;</code>, which has no closing tag. For a thematic break between ideas, <code>&lt;hr&gt;</code> draws a horizontal rule.

HTML · editable

Emphasis: strong and em

To give words meaning, use <code>&lt;strong&gt;</code> for strong importance (shown bold) and <code>&lt;em&gt;</code> for emphasis (shown italic). There are also <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> which look the same but carry no meaning — prefer strong and em so screen readers convey the importance.

<strong>Important text</strong>
  • Opening tag<strong>
  • ContentImportant text
  • Closing tag</strong>
strong/em vs b/i
<b> and <i>
  • Look bold / italic
  • Carry no meaning
  • Screen readers ignore the intent
  • Use only for pure visual style
<strong> and <em>
  • Look bold / italic too
  • Mean importance / emphasis
  • Screen readers convey it
  • Preferred for meaningful text
HTML · editable
Try wrapping different words in strong, em and mark.
Try it yourself: write an article

Build a tiny article in the editable box: one h1 title, an h2 section heading, two paragraphs, and use strong and em at least once each. This is real, structured content.

Quick quiz

1. How many <h1> elements should a page usually have?

2. Which element is a paragraph?

3. Why prefer <strong> over <b>?

4. What should decide which heading level you use?

Key takeaways
  • Headings h1–h6 create a meaningful outline; use one h1 per page.
  • Paragraphs use <p>; <br> is a line break and <hr> a thematic break.
  • Use <strong> and <em> for meaning, not just bold/italic looks.
  • Pick heading levels by meaning, not size — style comes from CSS.