If the article element replaces the div element why are so many upvotes given to codes using html4 language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

If the article element replaces the div element why are so many upvotes given to codes using html4 language?

Html5 tags vs Html4 tags

7th Oct 2018, 3:17 PM
David F. Rose
David F. Rose - avatar
2 Answers
+ 1
sololearn teaches html5 and states that the article tag replaces the div tag. old code convention of Html4 used the div tag and did not have the article tag. almost all sololearn html codes use the div tags. it maybe because it is shorter and that people with prior experience in web coding did not learn html on sololearn.
7th Oct 2018, 3:21 PM
David F. Rose
David F. Rose - avatar
+ 2
I just found out that the article element can be considered like a blog post in a blog web page. Mind blown, now I get how to use the article tag.... Always learning, sometimes faster than others....
18th Oct 2018, 1:13 AM
David F. Rose
David F. Rose - avatar