HTML Content Models
HTML heading content
The h1 through h6 elements and hgroup are heading content. Use heading ranks that express the actual hierarchy; nesting sections alone does not guarantee automatic rank adjustment in assistive technology. Categories describe authoring constraints and may overlap; they do not determine CSS display or by themselves guarantee accessibility.
Formal Syntax & Structure
html syntaxhtml
<h2>Section title</h2>Working Example
Example Snippethtml
<main> <h1>Guide</h1> <section> <h2>Setup</h2> <p>Start here.</p> </section></main>