+ 1

Difference between <div> and <p> tag

1st Jul 2020, 7:33 PM
Daniel Fomsi
Daniel Fomsi - avatar
2 ответов
+ 10
1st Jul 2020, 7:45 PM
Uri Easter
Uri Easter - avatar
+ 3
Both are block elements. P elements have some margin and paddin by default, but div haven't.
1st Jul 2020, 7:56 PM
arieh