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 de Navegadores
Estamos convertendo nossos dados de compatibilidade para o formato JSON.
Esta tabela de compatibilidade ainda usa o formato antigo,
pois ainda não convertemos os dados que ela contém.
Descubra como você pode ajudar!
Característica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Suporte básico | (Yes) | 1.0 (1.7 or earlier) | (Yes) | (Yes) | (Yes) |
Característica | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Suporte básico | (Yes) | 1.0 (1.0) | (Yes) | (Yes) | (Yes) |
Ver também
- O elemento HTML implementar essa interface:
<div>
.