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.

Similar Reads

Document structure tag

The tag is essential, encapsulating the entire HTML document and serving as the root element for content organization....

Commonly used tags in HTML

HTML Tag Syntax Description

...
Defines a division or section in an HTML document.

...

Defines a paragraph.
... Defines a hyperlink. ... Embeds an image.
    • ...
    Defines an unordered list.
      1. ...
      Defines an ordered list.
    1. ...
    2. Defines a list item.
      ...
      Defines a table. ... Defines a table row. ... Defines a table header cell. ... Defines a table data cell.
      ...
      Defines an HTML form for user input. Defines an input control within a form. Defines a clickable button.

      ...

      Define headings of different levels. ... Defines a generic inline container.

Examples of Commonly used tags in HTML

Example 1: This example shows the implementation Document structure tag with an example...

Contact Us