Difference between body tag and paragraph tag

What is the difference between a body tag and a paragraph tag?

The body tag represents the whole page, and in a page there can be many paragraphs(paragraph tag) which separates the text as a group in a page. So the paragraph tags will be always inside the body tag.

Thankyou. Your answer solved my problem!

Hi @heer2kshah ,
Apologies for the delayed response.

The <body> tag defines the document’s body . The element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. There can only be one element in an HTML document.

The <p> tag defines a paragraph . Browsers automatically add a single blank line before and after each <p> element.

Do let me know if you need any other help.