Why is <p> necessary? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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