Table of contents
HTML div element interface
DOM div (document division) objects expose the HTMLDivElement (or HTML 4
HTMLDivElement) interface, which provides special properties (beyond the regular element object interface they also have available to them by inheritance) for manipulating div elements. In HTML5
, this interface inherits from HTMLElement, but defines no additional members.
Properties
| Name | Type | Description |
|---|---|---|
align
Deprecated
in HTML 4.01
,
Obsolete
in HTML5
| DOMString | Enumerated attribute indicating alignment of the element's contents with respect to the surrounding context. |
See also
<div>HTML element


Mozilla Developer Network