Empty p Tags


#1



It keeps saying that I have empty p tags but I don't see any. Please help!

<!DOCTYPE html> 
 <html>
    <head>
        <title>About Me</title>
    </head>
        <body>
        <p><h1>Kayla</h1></p>
        <p>I like the beach</p>
        <p>I sometimes go outside but only rare occations</p>
        <p>I like to eat strawberries and rasberries</p>
        </body>
</html>


#2

@klarrieu17,

H1 is a block element like P,
but H1 and P can only have inline content inside of them,
unlike other block elements like forms and divs.

Therefore, you can't nest headings inside paragraphs
(and if you think about it a heading really should never be in a paragraph).