Global Attributes
HTML headingoffset attribute
Adjusts computed heading levels in supporting HTML implementations for nested content. This is an evolving feature; do not rely on it instead of a logical explicit heading hierarchy. Applicability: global HTML attribute, subject to element-specific restrictions and browser support.
Formal Syntax & Structure
html syntaxhtml
headingoffset="1"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| headingoffset | non-negative integer | Adjusts computed heading levels in supporting HTML implementations for nested content. This is an evolving feature; do not rely on it instead of a logical explicit heading hierarchy. |
Working Example
Example Snippethtml
<section headingoffset="1"> <h1>Nested title</h1></section>