This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

HTMLHeadingElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨июль 2015 г.⁩.

HTMLHeadingElement интерфейс представляет различные элементы заголовков. Наследует методы и свойства из HTMLElement.

must be a string

Свойства

Наследует свойства родителя, HTMLElement.

HTMLHeadingElement.align

Is a DOMString representing an enumerated attribute indicating alignment of the heading with respect to the surrounding context. The possible values are "left", "right", "justify", and "center".

Методы

Нет специфичных методов; наследует методы родителя, HTMLElement.

Спецификации

Specification
HTML
# htmlheadingelement

Совместимость с браузерами

Смотрите также