Share via


DIV HTML Element

The DIV element specifies a container or division in the document. This is a block element and requires a closing tag.

Attributes

Attribute Value Description
ALIGN Left

Center

Right

Specifies the DIV alignment.
Note   Supported only for devices running Windows Mobile 2002 software or later.
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.