Learn HTML – Part 3 – body Tag

What is the <body> Tag?

The <body> tag in HTML represents the main content of the HTML document. All the content that you see on a webpage — including text, images, videos, links, and more — goes inside the <body> tag. It is a required tag and comes right after the <head> section.

Tag Syntax:

<body>
<!-- Page content goes here -->
</body>

Example:

What It Does:

This will display a heading, a paragraph, and a clickable link on the web page. All of these elements are placed inside the <body> tag, making them visible in the browser.

Facebook
WhatsApp
Twitter
LinkedIn
Pinterest

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top