Division Marker

End Tag: Required
Support Key: 2 | 3 | 3.2 | 4 | IE3A1 | M | N2 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
The DIV element is a generic, catch-all Block Formatting element with an implied line break before and after. Within the realm of Style Sheets, this element is nestable to allow hierarchies of sections, subsections or chapters to be defined. This nesting ability also allows for powerful Style Sheet [-->Index DOT Css] mechanisms to be applied.

The recent addition of the many linking attributes to DIV and SPAN appear to be an attempt to expand the generic block and in-line capabilities of these two elements.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE3 | M | N4B2 | O3.5
%Events%
2 | 3 | 3.2 | 4 | IE4B1 | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE4 | M | N | O
%Data%
2 | 3 | 3.2 | 4 | IE4 | M | N | O

Specific Attributes
Align
2 | 3 | 3.2 | 4 | IE3A1 | M | N2 | O2.1
Required? No
Description:
This indicates the horizontal alignment of the Division block text in the browser window. These values can be over-ridden by style sheets values.
Values: Left [DEFAULT] | Center | Right | Justify
Clear
2 | 3 | 3.2 | 4 | IE | M | N | O2.1
Required? No
Description:
This attribute helps an author in situations with floating objects (images, tables, etc.) produced through the Left and Right ALIGN attributes. It allows content to stop being flowed around the floated element.
Values:
   None [DEFAULT - No special line breaking effects are applied relative to the floating element.]
   Left [breaks line after this element and moves down vertically until the right margin is clear of floated objects.]
   Right [breaks line after this element and moves down vertically until the right margin is clear of floated objects.]
   All [breaks line after this element and moves down vertically until both margins are clear of floated objects.]
NoWrap
2 | 3 | 3.2 | 4 | IE4 | M | N | O
Required? No
Description:
This attribute specifies whether or not the content of the element will use normal HTML linebreaking conventions. If False, normal linebreaking behavior is used. If set to True, the element will not wrap to the rendering viewport unless explicit linebreaking elements are added.
Values: False (DEFAULT), True
May also be used as a standalone attribute, in which case the value is treated as TRUE.
Example
<div ALIGN="right" CLASS="greensection" STYLE="color: lime">text</div>
Parent Model
%Block Parent%
Content Model
%In-line Content% | %Block Content%
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...