So <div> is outdated? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

So <div> is outdated?

Found some lessons that still use it, but here at SoloLearn i saw that its been replaced with <article>, <section>...

7th Apr 2017, 5:54 AM
Nathnael Tezera
Nathnael Tezera - avatar
5 Answers
+ 13
<div> </div>is never outdated. i heavily depend on it to manipulate html page both using CSS and Javascript.
7th Apr 2017, 7:28 AM
Agus Mei
Agus Mei - avatar
+ 6
Not outdate, just you have new containers to describe more specifiquely the structure of your website. But you can't use new tag everywhere it would have no sens to write: <footer> <footer> They are really there to globally define the main structure, not the specific inside them.
7th Apr 2017, 6:06 AM
Geoffrey L
Geoffrey L - avatar
+ 5
they are like containers. If you declare a class or an Id in the container and then you modify the container through the class name, you will modify all elements that are inside the container.
7th Apr 2017, 6:23 AM
Emanuele Di Bella
Emanuele Di Bella - avatar
+ 3
Need a new <div> legion? Agus ever provide the baseline: div never outdate
7th Apr 2017, 11:12 AM
Geoffrey L
Geoffrey L - avatar
+ 2
thank you all
7th Apr 2017, 11:06 AM
Nathnael Tezera
Nathnael Tezera - avatar