Document Title (H1)

This is the main heading of the document. There should typically be only one H1 per page.

Chapter 1: Introduction (H2)

This is a chapter heading. H2 elements are used for major sections.

Section 1.1: Getting Started (H3)

This is a section within a chapter. H3 elements are subsections of H2.

Subsection 1.1.1: Prerequisites (H4)

This is a subsection within a section.

Topic 1.1.1.1: Basic Knowledge (H5)

This is a topic within a subsection.

Subtopic 1.1.1.1.1: HTML Basics (H6)

This is the smallest heading level available in HTML.


Chapter 2: Content Structure

Paragraphs and Line Breaks

This is a regular paragraph with normal text flow.

This is another paragraph.
This line has a manual line break.
And this is another line.

Horizontal Rules

Horizontal rules can be used to separate content:


Content after the horizontal rule.

Divisions and Spans

This paragraph is inside a div element.

Divs are block-level elements used for grouping.

Chapter 3: Text Content

Lorem Ipsum Example

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Multiple Paragraphs

First paragraph with some content that explains a concept or provides information to the reader.

Second paragraph that continues the discussion or introduces a new but related topic.

Third paragraph that concludes the section or provides additional details.

Chapter 4: Special Characters

HTML Entities

Less than: <

Greater than: >

Ampersand: &

Quote: "

Apostrophe: '

Non-breaking space: word word

Copyright: ©

Registered: ®

Trademark: ™

Unicode Characters

Arrow: →

Heart: ♥

Spade: ♠

Club: ♣

Diamond: ♦

Chapter 5: Document Outline

This document demonstrates proper heading hierarchy:

  1. H1: Document Title
    1. H2: Chapter 1
      1. H3: Section 1.1
        1. H4: Subsection 1.1.1
          1. H5: Topic 1.1.1.1
            1. H6: Subtopic 1.1.1.1.1
    2. H2: Chapter 2
    3. H2: Chapter 3
    4. H2: Chapter 4
    5. H2: Chapter 5