TutreNews Learn

Document structure

Headings and text

Goal: Structure text with headings, paragraphs and emphasis · 7 min

Headings <h1> to <h6> form the outline of a page — like the table of contents of a book. Use **one <h1>** for the main topic and don't skip levels (h2 → h4) just to get smaller text; size is a job for CSS.

Text elements:

  • <p> paragraph
  • <strong> strong importance (usually bold), <em> stress emphasis (usually italic)
  • <br> line break within a paragraph (e.g. addresses) — not for spacing
  • <blockquote>, <code>, <abbr title="…">

Choose elements by meaning, not by appearance.

Worked example: A well-structured article

  1. One h1 for the article.
  2. h2 for each section.
  3. strong marks the warning as important.
<h1>Growing tomatoes</h1>
<h2>Sowing</h2>
<p>Sow indoors in March.</p>
<h2>Watering</h2>
<p><strong>Never</strong> water the leaves.</p>