files/en-us/web/api/htmlheadingelement/index.md
{{ APIRef("HTML DOM") }}
The HTMLHeadingElement interface represents the different heading elements, <h1> through <h6>. It inherits methods and properties from the {{domxref("HTMLElement")}} interface.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
"left", "right", "justify", and "center".No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}
<h1> to <h6>, which correspond to this interface.