- 1

Does anyone knows the difference between <body> and <p>

Writing HTML text question.

5th Jul 2017, 12:16 PM
Kingcyrus007
3 Antworten
+ 4
<body> is the root container of an html document (it contains all the visible elements standing in the web page) and must be unique. <p> is the 'p'aragraphe tag element, can be used many times inside a document, direct or indirect descendant of the <body> container, is used to embed paragraph of text, obviously ^^
5th Jul 2017, 12:24 PM
visph
visph - avatar
+ 1
<body> is a block which represent the core of your webpage ie everything in it including paragraphs (<p>)
5th Jul 2017, 12:22 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
Thank You
5th Jul 2017, 1:14 PM
Kingcyrus007