HTMLHeadingElement
The interface shared by <h1>, <h2>, <h3>, <h4>, <h5>, <h6>. Extends HTMLElement → Element.
No interface-specific reflected properties — every member comes from HTMLElement and Element. Use getAttribute / setAttribute for any other attribute.
See also
- Element —
getAttribute/setAttribute, content,classList, traversal, insertion - HTMLElement — the global reflected properties every HTML element inherits
- JavaScript DOM API — the interface hierarchy and
instanceof