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.
<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.
<p> tag defines a paragraph . Browsers automatically add a single blank line before and after each
Do let me know if you need any other help.