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.

La interfaz HTMLDivElement provee propiedades especiales (más allá de la interfaz regular HTMLElement que también está disponible por herencia) para manipular elementos div.

must be a string

Propiedades

Hereda las propiedades de su padre, HTMLElement.

HTMLDivElement.align Obsoleto

Es un DOMString que representa una propiedad enumerada que indica la alineación de los contenidos del elemento con respecto al contexto circundante. Los posibles valores son "left", "right", "justify", and "center".

Métodos

No hay métodos específicos; hereda los métodos de su padre, HTMLElement.

Especificaciones

Specification
HTML
# htmldivelement

Compatibilidad con navegadores

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
HTMLDivElement
align
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Deprecated. Not for use in new websites.

Ver también

  • El elemento HTML que implementa esta interfaz: <div>.