Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
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>Everyone loves cute cats online!</p>
    
  </body>
</html>

Your mobile information:

2201117PI - Android 13 - Android SDK 33

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

(You have not filled out the “Tell us what’s happening:” field above)

1 Like

Welcome to the forum @monukumar33943

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

The main element is used to define the main content of a webpage. It has an opening and closing tag with the same syntax as your other elements (e.g. h1, h2, p).

By putting a main opening tag above your h1 element and a main closing tag below your p element, you are nesting all of these other elements (which represent the main content of your webpage) inside your main element.

Happy coding