Home >>HTML5 Tutorial >HTML5 Main Tag
The HTML <main> element is used to create the main content of an HTML document. The <main> element contains the main content of the page . the main element contain unique content of that document. This element excludes any content that is repeated multiple pages (such as navbar,header, footers).
Ex(i)
<header>Header Section</header> <main role="main"> <article> <h4>Main Content</h4> <p>The main content goes here...</p> </article> </main> <footer>Footer Section Here</footer>
1) Chrome | 2) Firefox | 3) Safari |