div element | div object
[This documentation is preliminary and is subject to change.]
Specifies a container that renders HTML.
![]() ![]() |
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 7.5.4
DOM Information
Inheritance Hierarchy
Remarks
Examples
This example uses two DIV elements to align two sections of text differently.
<DIV> This text represents a section. </DIV> <DIV ALIGN=CENTER> This text represents another section, and its text is centered. </DIV>
Build date: 3/8/2012
- 4/25/2012
- MUN
- 4/24/2012
- Back to Old Format
This is insufficient and unworkable. This is in no way a “reference” document as there is nothing to reference. A real shame one has to go to other sites to get information on MS’s own products. BTW... you click “Did you find this helpful?” and submit, the page is invalid. Nicely done Microsoft!
- 4/19/2012
- A_Live_User
This is insufficient and unworkable. This is in no way a “reference” document as there is nothing to reference. A real shame one has to go to other sites to get information on MS’s own products. BTW... you click “Did you find this helpful?” and submit, the page is invalid. Nicely done Microsoft!
- 4/19/2012
- A_Live_User
- 4/6/2012
- YuvarajMani
- 3/30/2012
- Smarmy Sam
- 3/1/2012
- normana400
- 3/1/2012
- normana400

