why using forward slash end of the content in line break of html? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

why using forward slash end of the content in line break of html?

when we use <br /> tag we have to type additional "/" .we can use only <br>.

17th Aug 2018, 8:30 AM
Dodamgodage Gihan Sanjeewa
Dodamgodage Gihan Sanjeewa - avatar
3 Antworten
+ 4
There is no difference at all. You can skip / as per latest addition. Hope this helps ☺️☺️.
17th Aug 2018, 8:33 AM
Meet Mehta
Meet Mehta - avatar
+ 1
The <br /> has the same function with <br> but they have differences and you can check it here. https://www.sololearn.com/discuss/1227714/?ref=app
17th Aug 2018, 9:05 AM
Alquen
Alquen - avatar