What is a closing tag?

Tell us what’s happening:
I don’t seem to know what a closing tag is or where to put it, help pls!!

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>kitty ipsum dolor sit amet, shed </p>
<p>purr jump eat the grass rip the </P>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

You need to create a paragraph tag like this:

<p></p>

and insert this text : Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched

between the tags.

this is a closing tag:

</p>
1 Like

The closing tag is the second half of the tag. It “closes” or ends the element.

<h2><!--opening tag-->
</h2><!--closing tag-->
1 Like

thank you for your help!