Header, Nav, and Main
The <header> element represents introductory content for its nearest ancestor sectioning element. At the page level it typically contains the site logo, site title, and primary navigation. A <header> can also appear inside <article> or <section> to head that specific section.
Nav and Main
The <nav> element marks a section of a page that links to other pages or parts within the page — use it for primary site navigation and table-of-contents links. Not every group of links needs <nav>; reserve it for major navigation blocks. The <main> element represents the dominant content of the document body. There should be only one <main> per page and it must not be nested inside <article>, <aside>, <footer>, <header>, or <nav>.