We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil). Junte-se a nós e ajude-nos a fazer o trabalho!
Você também pode ler o artigo em English (US).

The HTMLHeadingElement interface represents the different heading elements. It inherits methods and properties from the HTMLElement interface.

Properties

Inherits properties from its parent, 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".

Methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLHeadingElement' in that specification.
Living Standard No change from HTML5.
HTML5
The definition of 'HTMLHeadingElement' in that specification.
Recommendation The align property is now obsolete.
Document Object Model (DOM) Level 2 HTML Specification
The definition of 'HTMLHeadingElement' in that specification.
Obsolete No change
Document Object Model (DOM) Level 1 Specification
The definition of 'HTMLHeadingElement' in that specification.
Obsolete Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes1 Yes Yes Yes
align Yes Yes1 Yes Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4 Yes Yes ?
align Yes Yes Yes4 Yes Yes ?

See also

Etiquetas do documento e colaboradores

Última atualização por: fscholz,