HTML 4.01 and XHTML 1.0 and 1.1 standards

As defined in the HTML 4.01 and XHTML 1.0 and 1.1 standards, a <div> tag divides your document into separate, distinct sections. It may be used strictly as an organizational tool, without any sort of formatting
associated with it, but it becomes more effective if you add the id and class attributes to label the divisions. The <div> tag also may be combined with the align attribute to control the alignment of whole sections of your document's content in the display and with the many programmatic "on event" attributes for user interaction.

<div>

Function
Defines a block of text
Attributes
align, class, dir, id, lang, nowrap, onClick, onDblClick, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, style, title
End tag
</div>; usually omitted in HTML
Contains
body_content
Used in
block