WHAT ARE THE DIFFERENT TYPES OF TAGS USED IN HTML?

Hypertext Markup language or HTML is used to create and organize web pages.

The essential building block of HTML is HTML tags. Every tag has a specific function in the creation of a web page.

There are different types of tags used in HTML.

Different types of tags used in HTML
1. Structural Tag:
HTML: The root element in which the entire HTML document is written.
Head: It is used to link CSS files or Scripts. It also contains metadata such as page title and character encoding.
Body: This element contains all textual content of a page.
Header: It contains the logos of the website or navigation links that help visitors to find what they are looking for.
Nav: It contains navigation links like Home, Portfolio, About Us, etc.
Main: The main content of the web page will be written here.