Document structure tag
The <html> tag is essential, encapsulating the entire HTML document and serving as the root element for content organization.
Structure Tag | Syntax | Description |
---|---|---|
<html> |
<html> Statements... </html> |
The root of the HTML document specifies it as HTML. |
<head> |
<head> Statements... </head> |
Contains head elements such as title, style, and meta tags in the HTML file. |
<title> |
<title> Statements... </title> |
Defines the title of an HTML document. |
<body> |
<body> Statements... </body> |
Defines the body of an HTML document, containing content like images, tables, and lists. |
Most commonly used tags in HTML
Most commonly used tags in HTML refer to HTML elements frequently utilized for structuring web content. These include <div> for division, <p> for paragraphs, <a> for hyperlinks, <img> for images, and others essential for building web pages, forming the basis of web development.
HTML contains lots of predefined tags. Some of them are described below.