Try our affiliated browser extension - redirect to BreezeWiki automatically!

Div



The HTML <div></div> element, or division, does not affect the presentation of its contents in any way, other than the consequences of its block-level status. This makes it very useful for custom CSS styles, and it is the primary component of a tableless layout. Its inline counterpart is the <span></span> element.

Attributes

Global attributes

See Global HTML Attributes.


HTML example:

<div>TEXT TEXT TEXT</div>

Support

Internet Explorer1.0
Firefox1.0
Chrome1.0
Safari1.0
Opera1.0

External links