When you want a sentence as output,why do both <p></p> and even nothing gives sentence as an ourput | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When you want a sentence as output,why do both <p></p> and even nothing gives sentence as an ourput

why do both <p>. </p>. as well as *even nothing* works to display a sentence. i.e. why is para tag not necessary

28th Sep 2019, 8:37 AM
Soham Shinde
Soham Shinde - avatar
1 Answer
0
Browsers are pretty tolerant so they will do their best to display anything that's available.
28th Sep 2019, 9:50 AM
Aaron Eberhardt
Aaron Eberhardt - avatar