DIV - Logical division

Appearance: <DIV ALIGN=foo> </DIV>
Attributes: ALIGN=left|right|center
Contents: H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS as well as TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text.
May occur in: BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD and DD, LI.

The DIV tag is used to mark up divisions in a document. It can enclose paragraphs, headers and other block elements. Currently, you can only use it to set the default alignment for all enclosed block elements. Future standards will most likely include more options for DIV.

Just like with other block elements such as P or H1, you can specify left, right and centered alignment.

Notes:


Affiliate Directory - Sign Up - Priviledged Members - Articles - Web Resources - Discussion - Contact Us - Link Exchange - HTML4 Manual - HTML3 Manual - PHP Manual