Use semantic HTML headings to make page structure understandable to screen readers and other assistive technologies. Nest heading levels to match the content: lower levels introduce subsections, while repeated levels can begin separate sections. Avoid skipping levels; heading size is a styling choice, not a reason to change the hierarchy. section 5.1.3
<h1>Page Title</h1> <h2>Section 1</h2> <h3>Subsection 1.1</h3> <h3>Subsection 1.2</h3> <h4>Sub-subsection 1.2.1</h4> <h2>Section 2</h2> <h3>Subsection 2.1</h3>
This sequence shows a page title followed by sections and nested subsections, with heading levels reflecting their relationships. section 5.1.3
