Category:HTML Tags


The <body> tag defines the main content of the HTML document that will be directly visible on your web page. This body tag <body> contains all the content of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.


Using <body> to create a simple webpage.

  <title>Title of the document</title>

  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>





  • There is only one <body> element in an HTML document.
  • The <body> tag should be placed under the closing </head> tag.
  • All the contents of an HTML document, such as headings, images, lists, etc should go inside the <body> tag.
  • No content should be written after the closing </body> tag.

Additional Information

For more information, see

Found a bug in the documentation? Let us know at