HTMLHeadingElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 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 |
Совместимость с браузерами
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLHeadingElement | ||||||||||||
align |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.