The <div> Element

The <div> element is used to group block-level elements. It is not a useful or meaningful element on its own, but it is extremely useful when applying styles to documents.

<div>
	<p>This is paragraph 1.</p>
	<p>This is paragraph 2.</p>
	<p>This is paragraph 3.</p>
	<p>All of this information is grouped
	in the same "div".</p>
</div>

The usefulness of this element will become more apparent as you learn Cascading Style Sheets (CSS).

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.