Tell us what’s happening:
Describe your issue in detail here.
Can you explain to me how does main tag help with SEO? Thank you.
**Your code so far**
<html>
<body>
<main>
<h1>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 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
I think that would ultimately depend on the specific crawler and how the “engine” uses the HTML structure. Good semantics might help a bit but I doubt it really matters that much compared to a lot of other things. For example, the only time the word “semantic” shows up in the google starter guide is with images.
Here is a Google Search Central video that sort of says the same thing. Having good semantics makes sense but ultimately doesn’t do that much for SEO.
Having a main element is just part of having good semantic markup and can possibly help with accessibility (assistive technologies) as well.