HTMLDivElement
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.
A interface HTMLDivElement
fornece propriedades especiais ( além da interface normal HTMLElement
que também está a sua disposição por herança ) para manipular elementos div.
must be a string
Propriedades
As propriedades são herdadas de seu pai, HTMLElement
.
Nome | Tipo | Descrição |
---|---|---|
align |
DOMString |
Propriedade enumerada indicando alinhamento dos conteúdos do elemento, respeitando ao contexto geral. Os valores possíveis são "left" , "right" , "justify" , e"center" . |
Métodos
Nenhum método específico; os métodos são herdados de seu pai, HTMLElement
.
Especificações
Specification |
---|
HTML # htmldivelement |
Compatibilidade com navegadores
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLDivElement | ||||||||||||
align |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Ver também
- O elemento HTML implementar essa interface:
<div>
.