0

Theory

What is difference between <p> vs <div>?

1st Jul 2024, 4:52 AM
Dj Singh
Dj Singh - avatar
2 Respostas
+ 1
Have you looked it up? What about created a code and put the tags in to see the difference? Pay attention to what happens if you put multiple <p> inside each other or inside a <div>, what happens if you put multiple <div> inside each other or inside a <p>? https://www.sololearn.com/discuss/1895934/?ref=app https://www.sololearn.com/discuss/2426382/?ref=app https://www.sololearn.com/discuss/951701/?ref=app https://www.sololearn.com/discuss/15166/?ref=app https://www.sololearn.com/discuss/2431498/?ref=app
1st Jul 2024, 5:08 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
<div> is a division tag whiles <p> is a paragraph tag
3rd Jul 2024, 12:54 AM
Ofosu-Yeboah Christian
Ofosu-Yeboah Christian - avatar