HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML main Tag

HTML main Tag



The main tag specifies the main content of a document. It is the most important part where the user sees everything he wishes for. Content must be unique inside it and must not have repeated content. For better performance, there should be only one main tag in the whole document. We can include as much content and as many tags as we want in it.




Its syntax is:- < main >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML