What the <br> 's fonction, and <p> too | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What the <br> 's fonction, and <p> too

21st Apr 2020, 2:37 PM
Hībā bb
Hībā bb - avatar
2 Answers
+ 1
Br will just break the line and it may appear that it is working like p tag because it also begin from new line . But you can't give any property with br tag but using p tag you can give property's to the matter inside it . By the way p is block level tag And br is inline level tag.
21st Apr 2020, 2:43 PM
Ayush Kumar
Ayush Kumar - avatar
0
You can google that ,also go through Html course
21st Apr 2020, 3:51 PM
Abhay
Abhay - avatar