<div> : generic language/style container
 
The DIV and SPAN elements, in conjunction with the id and class attributes, offer a generic mechanism for adding structure to documents. These elements define content to be inline (SPAN) or block-level (DIV) but impose no other presentational idioms on the content. Thus, authors may use these elements in conjunction with style sheets, the lang attribute, etc., to tailor HTML to their own needs and tastes.
 
Attributes
 
-) align : text position inside the tag
 
Values :  left , right , center
 
-) class  : name of the style sheet
 
-) style  : define the style
 
ex :  style="font-family: arial;font-size: 12px"
 
 
 
Example
 
 
<div align="center"> the text </div>
 
 
Gives
 
 
 the text  
 
 
 
 
 
 
For complete reference see html reference at W3C
 
MN..5   MO..1   MO..2   MO..3   MO..4   MP..1   MP..2   MP..3   MP..4   MP..5   MP..6   MP..7   MP..8   MP..9    
MP..10   MP..11   MP..12   MP..13   MP..14   MP..15   MP..16   MQ..1   MQ..2   MR..1   MR..2   MR..3   MR..4   MR..5    
MR..6   MR..7   MS..1   MS..2   MS..3   MS..4   MS..5   MS..6   MS..7   MS..8   MS..9   MS..10   MS..11   MS..12    
MS..13   MS..14   MS..15   MS..16   MS..17   MS..18   MS..19   MS..20   MS..21   MS..22   MS..23   MS..24   MS..25   MS..26    
MS..27   MS..28   MS..29   MS..30   MS..31   MS..32   MS..33   MS..34   MS..35   MT..1   MT..2   MT..3   MT..4   MT..5    
MT..6   MT..7   MT..8   MT..9   MT..10   MT..11   MT..12   MT..13   MT..14   MT..15   MT..16   MT..17   MT..18   MT..19    
		  |