0

The <p></p> element renders block child elements after itself.

I tested other block elements but they are rendered as in the source code (except the 'p' element), I'm sure this is something obvious but what?

Source Code

<p> myParagraph <div> child's div </div> </p>

This is how it's rendered

<p> myParagraph </p> <div> child's div </div>

Pall Arpad
  • 1,625
  • 16
  • 20

0 Answers0