HTML <body> tag

HTML <body> tag : Definition

• The HTML <body> tag Defines the document's body.

The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.


== IMPORTANT NOTE ==

Note: There can only be one <body> element in an HTML document.



<body> tag example :



<!DOCTYPE html>
<html>
  <head>
    <title>HTML <blockquote> tag example</title>
  </head>
  <body>
  	<p>This is a paragraph </p>
  	<h1> This is a heading </h1>
  </body>
</html>




OUTPUT :


This is a paragraph

This is a heading