Learn HTML by Building a Cat Photo App - Step 5 please show me how to write step 5

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

Your code so far

<html>
  <body>
  <5>cat>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    

</html>

Your mobile information:

TECNO KI5k - Android 12 - Android SDK 31

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

Link to the challenge:

“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 instructions are telling you what tags to add and where to put them. If you need more clarification then please let us know what you don’t understand.

I would reset the step to get the original HTML back and then only add those two main tags and nothing else.

Hello l quite understand what step 5 would you please help me?

Hey @awinjalucy.la
Semantic html requires you to use html semantic elements like header,main,footer
this helps for structuring your page for assistive technologies and for search engine optimization,so basically the structure of your page should be

<html>
<body>
<main>
<!--main content of your page e.g h1s goes here-->
<h1></h1>
</main>
</body>
</html>

Can’t explain everything in this post but hope this gives you the idea.

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