Whats the difference: <br> , </br> , <br /> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats the difference: <br> , </br> , <br /> ?

3rd Oct 2016, 8:44 AM
Rabbit544
3 Answers
+ 2
<br> is a line break in html, and <br /> is the xhtml variant, equivalent to <br></br>. <br> doesn't require closure in html.
3rd Oct 2016, 9:13 AM
Zen
Zen - avatar
0
<br> is breakline While I testing they are no different so This tag has no need to use close tag <br> , </br> ,<br /> result is Same all
7th Oct 2016, 10:10 AM
DK-deadAnzle
DK-deadAnzle - avatar
0
<br /> is a break tag and its an empty tag don't know about the rest tho
9th Oct 2016, 10:39 PM
funyi adiah (adie)
funyi adiah (adie) - avatar