They are both block elements. So why can I nest a <div>
inside a <div>
, but can't nest a <p>
inside a <p>
? (Well, I can, but the second <p>
just starts a new block.)
I have read about the div tag and p tag, but I don't see anything there that explains it. If it is there, then it goes over my head.
For the record, I do not want to nest a p
tags, I am just trying to understand the fundamentals more.