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

What is use of <br/> tag

I am confused that where I can use it

23rd Apr 2017, 3:36 AM
Vikash Shandilya
Vikash Shandilya - avatar
6 Answers
+ 9
<br> starts elements after it from next line.
23rd Apr 2017, 3:56 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 3
line break. If you want to print the content in in a paragraph after "<br/>" on a new line
23rd Apr 2017, 3:46 AM
Bill Fosam
Bill Fosam - avatar
+ 1
for link break because browser ignore the line break so we use </br> tag for line break
23rd Apr 2017, 5:58 AM
Rajeev Jain
Rajeev Jain - avatar
+ 1
@peter stergakos yes you can write this <br> or </br> both work similar
28th Apr 2017, 11:26 AM
Rajeev Jain
Rajeev Jain - avatar
line break, seems is a block element
25th Apr 2017, 10:34 AM
Shichao Wang
Shichao Wang - avatar
<br> no need for the / pretty sure
28th Apr 2017, 3:09 AM
Peter Stergakos
Peter Stergakos - avatar