HTML, div


I am new and i dont understand something, i have enrolled for the make a website course and im learning about divs, i dont understand why would you want to use them

#2 The div element

The div element represents nothing at all. It can be used with the class, lang/xml:lang, and title attributes to mark up semantics common to a group of consecutive elements.

Start tag:
End tag:

Flow content.

Contained By:
Where flow content is expected.

Content Model:
Flow content.

Global attributes

DOM Interface
Uses HTMLElement.

The DIV element provides us with a container that has no attached or perceivable meaning in the document. It is a block level element that can receive any type of content (except BODY, HEAD, HTML). Divisions are contained in the BODY, and not the HEAD, and they may contain other divisions.