Dont know where to add closing main tag

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>
  </main>Click here to view more cat photos.</p>
  
</body>
</html>
  **Your browser information:**

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

Challenge: Step 5

Link to the challenge:

1 Like

Hi @swaaa106 and welcome!

You should always read carefully the step instructions, no rush, you will learn faster also doing this way.
They said this “Identify the main section of this page by adding a <main>
opening tag <main> AFTER the h1 element,
and a </main> closing tag AFTER the p element.”

I have tried to give you more hints, I hope that helps.
Happy coding!

not able to clear it

1 Like

Hi again @swaaa106

I dont know how to help you without give you the correct answer. This two pages are really good as reference:

The HTML standard is here:
https://html.spec.whatwg.org/

I hope reading other examples and explanations will help you. Let me know if you dont get it. But dont give up.
Cheers

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.