description & Usage
<main> tag is used to create and define the main content of an html document.
The content inserted in the <main> tag should be brief to the relevant document.
Notes
Note: The <main> tag should be used only once in each document.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<main> |
Global Attributes
The main tag supports the HTML Global Attributes.
Event Attributes
The main tag supports the HTML Event Attributes.