Global Attributes
HTML headingreset attribute
Resets inherited heading offset in supporting HTML implementations. This is an evolving feature; keep explicit heading levels meaningful without it. Applicability: global HTML attribute, subject to element-specific restrictions and browser support. Boolean syntax: presence enables the state; omit the attribute to disable it. A string value of "false" does not turn it off.
Formal Syntax & Structure
html syntaxhtml
headingresetParameters & Attributes
| Name | Type | Description |
|---|---|---|
| headingreset | boolean | Resets inherited heading offset in supporting HTML implementations. This is an evolving feature; keep explicit heading levels meaningful without it. |
Working Example
Example Snippethtml
<section headingreset> <h2>Section title</h2></section>