HTMLDivElement
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.
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
Especificação | Status | Comentário |
---|---|---|
HTML Living Standard The definition of 'HTMLDivElement' in that specification. |
Padrão em tempo real | No change from HTML5. |
HTML5 The definition of 'HTMLDivElement' in that specification. |
Recomendação | No change from Document Object Model (DOM) Level 2 HTML Specification. |
Document Object Model (DOM) Level 2 HTML Specification The definition of 'HTMLDivElement' in that specification. |
Obsoleto | No change from Document Object Model (DOM) Level 1 Specification. |
Document Object Model (DOM) Level 1 Specification The definition of 'HTMLDivElement' in that specification. |
Obsoleto | Initial definition. |
Compatibilidade com navegadores
BCD tables only load in the browser
Ver também
- O elemento HTML implementar essa interface:
<div>
.