MDN Web Docs

Instance properties

Inherits properties from its parent, HTMLElement.

HTMLDivElement.align

A string representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context. The possible values are "left", "right", "justify", and "center".

Instance methods

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

Specifications

Specification
HTML
# htmldivelement

Browser compatibility

See also

  • The HTML element implementing this interface: <div>.

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗