What is the benefit of <br/> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the benefit of <br/> ?

7th May 2018, 4:56 PM
alaa
8 Answers
+ 5
alaa yeah it means blank space check this simple code https://code.sololearn.com/WimPt7y19LQc/?ref=app
7th May 2018, 5:30 PM
Bug Slayer
+ 3
Using <br/> tag you can add a line break in your code.
7th May 2018, 5:27 PM
Bug Slayer
+ 1
<br/> tag helps in creating a line break in Html <html> <head> <title>Page Title</title> </head> <body> <p>mu name is ujjwal kumar</p></br> <p>i am 13 years old</p> </body> </html> Output My name is ujjwal kumar I am 13 years old
7th May 2018, 5:10 PM
Ujjwal Kumar
Ujjwal Kumar - avatar
+ 1
ok but what i mean why it doesn't reflect it on the output that there's a break line ? is break line means a blank space?
7th May 2018, 5:26 PM
alaa
+ 1
break line does not create a browser generated blank line.It just shifts the content to the next line.
17th May 2018, 8:18 AM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
+ 1
I think it does the same thing the ENTER key does in Microsoft word
24th May 2018, 9:24 PM
patrick
0
thank you so much guys 🌠
7th May 2018, 5:37 PM
Pandaface95
0
i got it 🙏
7th May 2018, 5:38 PM
Pandaface95