What is the exact meaning and purpose of tags in HTML/CSS?
Div tags are used to describe content that cannot be properly described by other, more semantic tags. The div tag defines a section within an HTML or XHTML document. Proper HTML markup language requires that all elements describe the type of data contained within. For example, in HTML and XHTML, a p (paragraph) element should contain a paragraph of text, and an h1 element should contain the highest-level header of the page. In HTML and XHTML, span and div are the only elements that carry no innate semantic meaning, besides the logical grouping of the enclosed elements. In standard HTML, a div is a block-level element (and so visually isolates a section of a document on the page, in the same way as a paragraph. When it is labelled with class or id attributes, div elements can denote types of information otherwise indescribable with HTML.