+ 1

what is the <div> tag used for?I still do not get it.

5th Sep 2020, 9:16 PM
qrtuy
qrtuy - avatar
7 Antworten
+ 6
The <div> tag is simply a tag used to keep elements separate in a HTML file. Whatever tag that is kept by the div tag will be in the section of the page owned by the div tag. In all, the div tag is a container!
5th Sep 2020, 10:22 PM
Vachila64☕
Vachila64☕ - avatar
+ 3
To separate your page into sections.
5th Sep 2020, 11:16 PM
Sonic
Sonic - avatar
+ 3
Sometimes this is useful for styling via CSS.
5th Sep 2020, 11:17 PM
Sonic
Sonic - avatar
+ 3
The div tag does not denote a semantic element like the section tag does.
5th Sep 2020, 11:19 PM
Sonic
Sonic - avatar
+ 1
When you will start css you will understand
7th Sep 2020, 11:13 AM
tsdareen
tsdareen - avatar
0
<div> stands for division. So basically it's used for page separation into sections and sections and it is an HTML tag
7th Sep 2020, 6:47 AM
Malan Kudakwashe Kapishe
Malan Kudakwashe Kapishe - avatar