Using Block Level CSS Container Div
Div (division) , a container element,
is used to apply styles without denoting a specific xhtml element(tag).
Div is a block-level element which can contain any HTML tag or groups of tags and apply styles with additional spaces above and below the div tag. It can be assigned a CLASS or ID identified in the style sheet.
<div class="teal">The teal statement</div> The closed div stops the teal formatting therefore there is a line break before and after the text.
This teal style was applied using the div block element.
|