HTML 4.0 Logo Reader Icon OEB 1.0 Logo PPC Logo <div>Division

This tag defines a “block” whose formatting is then controlled through CSS. You can use the <div> tag to group together nested blocks so that the <div> element’s formatting may be inherited by the inner blocks. The <div> tag itself has no properties; it merely provides a container for the style attribute or for CSS style properties to be attached to.

Because CSS may be used to associate hard-page-breaks with a <div> it is often useful for introducing such hard-page-breaks before or after a contained image. (Too many image files close together in an eBook may lead to memory and performance problems on version 1 of the Microsoft Pocket PC Reader.)

Attributes

align, class, id, lang, style, title (ignored)

© 2000 Microsoft Corporation. All rights reserved. Terms of use.