In this sample content section, the header holds meta, title, subtitle, and a featured image, while the body content is situated underneath. .article-content.

Introduction

The introductory paragraph outlines what this article aims to demonstrate.

Requirements

  • Proper IDs on section headings
  • Table of Contents links match these IDs
  • Responsive header sizing

Steps

Step 1: Verify Structure

Confirm that the header closes before the content section starts.

Step 2: Add IDs

Provide a matching ID for each H2/H3 element in the Table of Contents. id.

Step 3: Test ToC Links

Click the ToC links in the sidebar to ensure smooth scrolling to specific sections.

Conclusion

A clear division between header and content prevents layout issues while boosting SEO and UX.