HTML Basics | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HTML Basics

So curious is <p> </p> and <body> </body> the same thing?

28th Jan 2018, 8:52 PM
Logan Kelly
Logan Kelly - avatar
4 Answers
+ 13
Html <p> element represents a paragraph of text. Paragraphs are block-level elements.(flow content, palpable content). In DOM: HTMLParagraphElement. The <body> element represents the content of an HTML document. You can paste only one <body> in your document.(flow content). In DOM: HTMLBodyElement and you can access it through document.body attribute.
28th Jan 2018, 9:41 PM
\__(° = °)__/
+ 2
No, no and no. They are different😄👍
5th Feb 2018, 5:04 PM
renamed
renamed - avatar
+ 2
no no there are not the same... <p> ===》paragraphe <body> ===> section
23rd Feb 2018, 12:40 PM
Abbas
Abbas - avatar
0
no they are ,different
16th Nov 2019, 8:25 AM
Lkr songs
Lkr songs - avatar