<p> elements are only allowed to contain inline elements. A <div> is a block-level element, just like h1 - h6, blockquote, etc. Your <p> tags will become invalid markup once a block-level element is added as a child. The self closing of the <p> tag is by design and it’s generally not a good idea to leave it up to the user to have the knowledge of inline vs block-level elements since the wysiwyg can embed both into the html.
Is this correct? So many levels no?
Because of these levels, I can’t figure out why my H2 tag doesn’t have width and height.
Here a link to show the problem: Tag H2 nesting problem It’s a title called “Sign up for updates.”, almost in the footer of the page.