<main>

noun

say it: “MAYN” /meɪn/

The HTML element for a page's main content, used once per page.

What is <main>?

<main> — The element for the document body's dominant, unique content.

<main>
  <h1>Neighborhood News</h1>
  <p>Stories from this week.</p>
</main>

In a sentence

  • “Everything except the header and footer goes inside main.”

Level: Apprentice · More HTML terms at this level

Updated