Does anyone knows the difference between <body> and <p> | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
- 1

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

Writing HTML text question.

5th Jul 2017, 12:16 PM
3 Respostas
+ 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 - 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
Thank You
5th Jul 2017, 1:14 PM