So in html 5, is the div element is taken away and replaced with the <article> tag? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
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