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

What is the difference between <br> tag and <br/> tag?

29th Jan 2016, 7:00 PM
Abhishek
Abhishek - avatar
2 Answers
+ 2
Technicly there is not a whole lot of difference. Just remember that when using <br> that you should close it with </br>, or it might cause issues later on with for example styling. So I would recommend to use <br/> as it's cleaner and faster.
15th Mar 2016, 5:43 AM
Christophe Durris
Christophe Durris - avatar
+ 2
Opening and closing tag...
29th May 2016, 2:26 PM
Raj
Raj - avatar