For what </br> tag is used for in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

For what </br> tag is used for in html

12th Jan 2018, 11:58 AM
goutham.r
goutham.r - avatar
5 Answers
+ 4
The <br> tag inserts a single line break.
12th Jan 2018, 12:24 PM
Deviiartt
+ 4
Proper way in html5 to use this tag is <br>. </br> was never be valid form, and <br/> was supported until html5 to give habits to coders to be more xhml (xml based -- xml is less permissive than html, and require slash at end of self-closed tags) compliant, but xhtml branch was abandonned with outcome of html5 ^^
12th Jan 2018, 1:59 PM
visph
visph - avatar
+ 2
It’s the line break element.
12th Jan 2018, 12:27 PM
Ali Z. Emili
Ali Z. Emili - avatar
+ 2
proper way to use this tag is <br /> for single line break.
12th Jan 2018, 12:56 PM
🇮🇳ankitpateldev👔
🇮🇳ankitpateldev👔 - avatar
- 2
it is not used anymore 😁🦁
24th Jan 2018, 8:36 PM
Omar Sakhraoui
Omar Sakhraoui - avatar