w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Mosaic icon 1.0 2.0      
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      

<div>

container
CSS: block element
start tagrequired
end tagrequired
Sandia Reference
Link to Site Map

The "DIVision" element is used to group related texts together. The HTML 4.0 specification presents a database record delineated by <div>. This is easily accomplished with a report writer from a database. By modifying the text defined by <div> by specifying a "class=" or "id=" attribute the text can be easily modified using a stylesheet,

There are some instances where <div> has been used to define a block of text in order to modify the font size or colour.

The specification states that <div> will place a

line break before, and after
the <div> element.

align=
deprecated
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
"The ALIGN attribute can be used to explicitly specify the horizontal alignment of paragraphs within a division:" (w3)
"left"
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
Example
<div align="left">
<p>"Paragraphs are rendered flush left (the default)."
</div>

"Paragraphs are rendered flush left (the default)."

Note: the <p> tag is inside the <div> structure. (w3)

This is the default for WebTV.

"center"
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
<div align="center"><p>"Paragraphs are centered."</div>
"Paragraphs are centered."
(w3)
"right"
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
<div align="right"><p>"Paragraphs are rendered flush right."</div>

"Paragraphs are rendered flush right."

(w3)
"justify"
w3c icon + 2.0 3.0 3.2 4.0
WebTV 0.9 1.2      
<div align="justify"><p>"Text lines are justified where practical, otherwise this gives the same effect as the default align=left setting..."</div>

"Text lines are justified where practical, otherwise this gives the same effect as the default align=left setting. I can meander along for hours in an attempt to demonstrate the effectiveness of this tag. It is the controller of all typesetting-like function that a page designer might wish to use. Remember that we read best when large volumes of text are justified. However, browser justification may not be "perfect", depending on your browser."
(w3)
class=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
clear=
w3c icon + 2.0 3.0 3.2 4.0
Opera 1.0 2.1 3.0    
"This attribute is common to all block-like elements. When text flows around a figure or table in the margin, you sometimes want to start the division below the figure rather than alongside it. The CLEAR attribute allows you to move down unconditionally:" (w3)
"left"
w3c icon + 2.0 3.0 3.2 4.0
Opera 1.0 2.1 3.0    
"move down until the left margin is clear" (w3)
"right"
w3c icon + 2.0 3.0 3.2 4.0
Opera 1.0 2.1 3.0    
"move down until the right margin is clear" (w3)
"all"
w3c icon + 2.0 3.0 3.2 4.0
Opera 1.0 2.1 3.0    
"move down until both margins are clear" (w3)
"## en"
w3c icon + 2.0 3.0 3.2 4.0
"move down until there is at least 40 en units free" (w3)
"### pixels"
w3c icon + 2.0 3.0 3.2 4.0
"move down until there is at least 100 pixels" (w3)
dir=
w3c icon + 2.0 3.0 3.2 4.0
"ltr"
"rtl"
id=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
lang=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
nowrap
w3c icon + 2.0 3.0 3.2 4.0
WebTV 0.9 1.2      
<div nowrap><p>"The NOWRAP attribute is used when you don't want the browser to automatically<br> wrap lines. You can then explicitly specify line breaks in paragrphs using the BR element."</div>

"The NOWRAP attribute is used when you don't want the browser to automatically
wrap lines. You can then explicitly specify line breaks in paragrphs using the BR element."

(w3)

Interesting note: there are no breaks in the example above. Netscape is not handling it properly inside tables.

style=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
title=
w3c icon + 2.0 3.0 3.2 4.0