Does I have to use <div> and <span> in HTML5 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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