Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
I need help with understanding where I should be placing the main closing tag

  **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>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 11; Nokia G10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 5

Link to the challenge:

Hi

A HTML element is comprised of an opening tag, a closing tag, and any text between those tags.

So, for example, this is a h4 element:
<h4>I'm the text of this element</h4>

This challenge is asking you to add a <main> opening tag after the h1 element .
So that should be after the h1 element’s closing tag.
(I’d put it on a new line for readability).

Similarly, the </main> closing tag should be after the p element.

Thank you very much for your help

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