About <div> | Sololearn: Learn to code for FREE!


About <div>

Why everyone uses div element when html 5 has article, section. is there any good ??? I see every time people or even sololearn if explain something they use the <div>

11/13/2018 1:28:12 PM

Tanvir Hassan Kabir

4 Answers

New Answer


Div is better to use as it is for outline styling and if you fond of using article,section you can use but most people use div as it is well supported for css styling


No, section is just for identification purposes you can use for your compability. It doesn't have special meaning it's just for describing a section that's all!


Thank you Adarsh.n. Bidari . is there any differences in css styling if i use <section>????


Thanks bro..