So in html 5, is the div element is taken away and replaced with the <article> tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So in html 5, is the div element is taken away and replaced with the <article> tag?

<article> replaces <div> fully in html5?

8th Oct 2017, 6:36 PM
Sahil B
Sahil B - avatar
1 Answer
0
No. Actually you can write anything as a tag. example: <mybox>, or <sonny>. Div is short for division so it is used. Using anything is possible, but article, nav etc, are created to bring consistency and similarity in writing.
8th Oct 2017, 6:57 PM
Niush
Niush - avatar