How do you add children to to "main" HTML5 <p>

How do you add children to to "main" HTML5 <p>
0.0 0

#1

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scrathed.

I have no idea what “children” mean and how to add them.


#2

For example, in:

<body>
<h1>One child of body</h1>
<p> Another child of body</p>
</body>

Those elements inside body are the children of body.


#3

Like this:

<main>
<h1>
<\h1>
</main>

In the above, h1 is a child of main.


#4

I have done like here still getting error!!!

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

can you help in finding error?


#5

I would like to help you but i cannot see your code. Please share it in between triple backticks.

Put three backticks like the above in your response (above and below your code) so that we can see it. A backtick charcter is like an apostrophe but it is pointing backwards.

#6

what’s the error message?