The HTML <main> Tag is used to given the main information of a document. The content inside the <main> element should be unique for the document. Which includes the sidebars, navigation links, copyright information, site logos, and search forms.
Note: The document must not contained more than one <main> element . The <main> element should not be a child elements of an <article>, <aside>, <footer>, <header>, or <nav> element.
<main> //contents of main Element </main>
Supported Browsers: The browsers supported by <main> Tag are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.