Does I have to use <div> and <span> in HTML5 ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Does I have to use <div> and <span> in HTML5 ?

Does I have to use <div> and <span> in HTML5 what about <article> and <section> I mean aren't they have the same functions or what?

2nd Jun 2019, 2:33 AM
Ali
Ali - avatar
2 Réponses
+ 5
None of them are compulsory.
2nd Jun 2019, 5:44 AM
Sonic
Sonic - avatar
+ 1
Sonic Thanks for your answer.
2nd Jun 2019, 6:06 AM
Ali
Ali - avatar