0

Difference between section and div tag ?

5th Jul 2021, 9:38 AM
PRAVEEN
PRAVEEN - avatar
3 odpowiedzi
+ 10
In HTML, <section> means that the content inside is grouped and should appear as a entry in an outline of a page whereas <div> does not convey any meaning, aside from any found in its class, lang and title attributes.
5th Jul 2021, 12:39 PM
Ded
+ 3
well, using section tag is more friendly for search engine robots. semantic correct way is to use section obviously in different sections: like, menu, side_bar_l, side_bar_r, comments, main etc
5th Jul 2021, 1:22 PM
Shadoff
Shadoff - avatar