Home  »  HTML   »   main

It defines the main part of the page. This tag is used once per page to define a unique part of the page excluding the repetitive part like header, footer, sidebar, etc.

HTML main Example:

Edit Example

Usage:
With the introduction of schematic HTML tags in HTML5, we can better structure our article. The main HTML tag defines the main article part of the entire document. This can be used only once per document so it separates the unique content of the website.

Related HTML Tags: