task 9 is a challenge

*Tell us what’s happening: HTML5 has some elements that identify different content areas. These elements make your HTML easier to read and help with Search Engine Optimization (SEO) and accessibility.

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.*
Describe your issue in detail here.

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

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

Challenge: Step 5

Link to the challenge:

Hey buddy after the body tag aplly the opening main tag

Where did these elements come from? I suggest you restart the step and only do what you’re instructed to do:

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.


The h1 element is already defined for you. Before that h1 element is where you put the opening main tag. p is also already defined. Below that paragraph is where you put the closing main tag.

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