HTML body tag

The HTML <body> tag is used for declaring the main content section of the HTML document. The <body> tag is placed after the document’s head (i.e. between the </head> and the </html> tags).

The basic tag is written like this <body></body>, with the document’s content inserted between the opening and closing tags. On any normal-sized HTML document, you’ll usually see the opening tag (<body>) near the top of the document and the closing tag (</body>) near the bottom.

There can only be one <body> element per HTML document.


<html>
<head>
<title>Document Title...</title>
</head>
<body>
<p>Main content area...</p>
</body>
</html>

Eg. :
Main content area…