HTML main tag
Example
Using the main tag to display the main content of a document:
<
main
<
h1Web Browser
h1
<
p
Google Chrome, Firefox, and Internet Explorer are currently the most popular browsers.
p
<
article
<
h1Google Chrome Browser
h1
<
p
The Google Chrome browser is a free, open-source web browser developed by Google and released in 2008.
p
article
<
article
<
h1Internet Explorer Browser
h1
<
p
The Internet Explorer browser is a free web browser developed by Microsoft and released in 1995.
p
article
<
article
<
h1Mozilla Firefox browser
h1
<
p
The Firefox browser is a free, open-source web browser from Mozilla, released in 2004.
p
article
main
Try it »
Definition and Usage
Note that in a document,