HTML main tag is used to specify the main content of the web page.
The main tag can be used only one time in a single web page.
Syntax
Output
First heading
Your first paragraph content will go here.
Second heading
Your second paragraph content will go here.
You should also read:
- HTML article tag
- and HTML anchor tag
Resources and References of HTML main tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github