<DIV> elements let you apply a style across a group of elements, like the H1 and P here. The code:
<STYLE TYPE="text/css"> .bluebold {color: blue; font-weight: bold; font-style: italic } </STYLE> <DIV class="bluebold"><H1>DIV</H1> <P>...text...</P><DIV>
The DIV element is used to enclose a group of adjacent elements and turn them into a section; styling can then be applied to all the elements in the section.
On this page, we enclosed the H1 at the top and the P below it in a DIV, set that DIV's class to bluebold, and defined a style for elements of class bluebold. The children of DIV (H1 and P) inherit the style from DIV.