HTML tags are used to create components in a web page. Everything on a web page is created with HTML tags. Below are some popular HTML tags and their usage.
DOCTYPE HTML tag is used to inform the browser currently which HTML version used in the document.
The HTML tag is the root of an HTML page.
The head tag is a section of the metadata. which includes include information on the webpage like title, scripts, styles, meta information, and more.
The title tag defines the title of a web page. it is required in all HTML documents and it denotes the title of the document. it used for headline for a given result, and important for SEO.
the body tag defines the middle section of the document or web page. such as text, hyperlinks, images, tables, lists, etc.