+ 1
what is the <div> tag used for?I still do not get it.
7 odpowiedzi
+ 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!
+ 3
To separate your page into sections.
+ 3
Sometimes this is useful for styling via CSS.
+ 3
The div tag does not denote a semantic element like the section tag does.
+ 1
When you will start css you will understand
0
<div> stands for division. So basically it's used for page separation into sections and sections and it is an HTML tag