Official Site® | Lédger.com/Start®

Getting started with semantic headings (H1 → H5) and how to structure content for accessibility, SEO, and clear reading—plus 10 colourful example "official" links you can copy into your project.

Why headings matter

Headings (H1–H6) are the backbone of well-structured HTML content. They create a logical outline that helps screen reader users, search engines, and sighted readers scan material quickly. Use a single H1 per page for the main topic, H2 for major sections, H3 for subsections, and so on. The goal is a clear, nested structure — not visual appearance. You should style headings with CSS when you want them to look a certain way, but keep the semantic order intact for reliability and accessibility.

Best practices for H1–H5

H1 — Page title (one per page)

The H1 defines the page's primary subject. It should be concise and descriptive. If your page is a tutorial called "Getting Started with Headings," that phrase is a perfect H1. Keep it unique across pages where possible.

H2 — Major sections

Use H2 elements for the main building blocks of the page, like "Introduction," "Examples," or "Accessibility." Each H2 breaks the content into scan-friendly chunks.

H3–H5 — Subsections

H3s are subsections inside H2s, H4s nest inside H3s, and H5s are for further fine-grained structure. Avoid skipping heading levels (for example, jumping from H1 to H4) because that harms assistive technology navigation.

Practical HTML examples

The snippet below shows a tidy, accessible heading structure followed by a small article outline. Copy and paste it into your HTML file as a starting point.

<header> <h1>Getting Started with Headings</h1> <p>Short description of the page</p> </header> <main> <section> <h2>Introduction</h2> <h3>Why headings matter</h3> <p>...</p> </section> <section> <h2>Examples</h2> <h3>Visual styling</h3> <h4>Small notes</h4> </section> </main>

Accessibility checklist

  • One H1 that describes the page topic.

  • Headings in order without skipping levels.

  • Descriptive headings that help users decide whether to read a section.

  • Keyboard-focusable interactive elements (links, buttons).

  • Use ARIA landmarks (e.g., <main>, <nav>) to enhance navigation for assistive tech.

10 colourful "official" links (copyable)

Below are ten example links styled with vivid accents. Replace the href values with your real official endpoints. Each link uses the class official and a colour class ac1–ac5. These are purely presentational and safe to include in your markup.

Tip: keep link text short but specific ("Support Center" better than "Click here"). Use rel="noopener noreferrer" for external links opened in new tabs.

Styling headings without breaking semantics

If you want a heading to look smaller or larger visually, adjust CSS. Avoid changing heading tags solely to achieve a visual size — use CSS instead. For example:

h2{font-size:1.1rem} h3{font-size:1rem;color:#9fb0c8}

This preserves the document structure while giving you full control of appearance.

Putting it all together — a short checklist for publishing

  1. Write a clear H1 and unique meta <title> for SEO.

  2. Organise content into H2 sections, then use H3/H4 for depth.

  3. Run an accessibility audit (e.g., Lighthouse or WAVE).

  4. Test on mobile and keyboard-only navigation.

  5. Confirm links point to official, HTTPS endpoints and use secure attributes.

Create a free website with Framer, the website builder loved by startups, designers and agencies.