How to place the <main> and closing main tags

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>Click here to view more 
    cat photos.</p>
                   

  
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A217F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36

Challenge: Step 5

Link to the challenge:

the opening <main> tag goes after the h1 element, not inside it

1 Like

Thanks very much for the tip

What about the last tag

The instructions say

Identify the main section of this page by adding a <main> opening tag after the h1 element, and a </main> closing tag after the p element.

Where do you think is “after the p element”?

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