Why is <p> necessary? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is <p> necessary?

Couldn’t you just do <body> Paragraph 1 Paragraph 2 </body Instead?

24th Dec 2018, 7:28 PM
Dylan
1 Answer
+ 9
You can but they will be single-line and won't span in many paragraphs. At least in most browsers... Who knows, some browsers may erase data that is not wrapped by any tags... Follow good practices.
24th Dec 2018, 7:32 PM
Valen.H. ~
Valen.H. ~ - avatar