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

what is the difference between <br> and </br>

when i used it there is no different it still show same result but is there any difference?

18th Aug 2016, 3:24 PM
Hanizam Onesevensix
Hanizam Onesevensix - avatar
3 Answers
0
La diferencia es que <br> te abre el código, y </br> lo cierra.
18th Aug 2016, 4:00 PM
Ariannys
0
normally </tagname> is used to close a tag but in case of br there is no closing tag so you just use <br>
18th Aug 2016, 5:44 PM
shadow1435
0
you hace a bad syntax using </br> this tag has no closing tag just like <img> or <link> the way to close it is <br />, <img />, <link /> but if you don't want to use '/' don't, it makes no difference
18th Aug 2016, 10:53 PM
Manuel Ramirez
Manuel Ramirez - avatar