Why do we need <br /> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why do we need <br />

<br> itself dows the exact same thing

16th Oct 2018, 7:54 PM
junkhead 10
junkhead 10 - avatar
3 Answers
+ 1
It depends on your desired level of compatability.
16th Oct 2018, 8:07 PM
Janningā­
Janningā­ - avatar
+ 1
Programmers don't tend to add extra characters "just to look better". You will likely not notice a difference unless you are specifically testing for it in an environment that would require it. https://en.m.wikipedia.org/wiki/XHTML#Backward_compatibility
16th Oct 2018, 10:05 PM
Janningā­
Janningā­ - avatar
0
so like just make it look better or what because i dont notice any differnce in what they do
16th Oct 2018, 8:09 PM
junkhead 10
junkhead 10 - avatar