What do I need the tag <div> for?

What do I need the tag <div> for?
0

#1

I’m a beginner, please explain me simpy xD


#2

what you don’t understand


#3

I mean Why should I set the tag <div ? What gonna change?


#4

Tag <div make block in your code


#5

In simple terms:

<div> </div> tag is used to represent the division between the content.

It simply separates one content from another in HTML page.


#6

You use div tags to group content, usually content that you want to visually group together.

HTML5 introduced a bunch of new tags like header, main and footer which people used to use div tags for to group the items together.