What does <main> tag means?

Hey there, freeCodeCampers. I was wondering why the <main> tag is used. Like:

<h1>Hello World!</h1>
<main>
    <!-- Code goes here. -->
</main>

What does <main> tag supposed to mean?

Please answer as fast as possible.

Thanks,
P :slightly_smiling_face:

It’s the main content on the page, eg maybe you have a header, some navigation, the content and a footer, so <header>, <nav>, <main>, <footer>.

1 Like

Thank you, @DanCouper for the information. Have a nice day. :smile:

P :slightly_smiling_face: