+ 7

What is the correct HTML element for inserting a line break?

<br> </br> <br/> <break>

13th Mar 2017, 4:46 AM
Asma Majoo
Asma Majoo - avatar
13 odpowiedzi
+ 17
It's <br> & <br/> both. They both do the same work. The forward slash at the ending is only used to indicate that the tag does not require any ending tag.
14th Mar 2017, 6:49 AM
Biraj Patel
+ 8
All wrong, <br> is correct for break but it does not work in XHML. So I suggest use <br />
13th Mar 2017, 5:48 AM
BBBB Ghh GgBB
+ 4
Its <br/>
13th Mar 2017, 5:32 AM
Niral Shakya
Niral Shakya - avatar
+ 4
You can use both <br> and <br/>, since br is an empty tag (no end tag). But it's always better to add a slash at the end of empty tags, so go for <br/>
13th Mar 2017, 10:15 AM
Aarthi Sri
+ 3
<br/>
14th Mar 2017, 3:49 AM
NeoX
NeoX - avatar
+ 2
</br>
13th Mar 2017, 5:01 AM
Al-Amin Sabuj
Al-Amin Sabuj - avatar
+ 2
only <br> is sufficient.✔
14th Mar 2017, 4:09 PM
Krushna
Krushna - avatar
+ 2
<br> </br>
16th Mar 2017, 7:49 AM
ASIM MOHD
ASIM MOHD - avatar
+ 2
hi there
17th Mar 2017, 6:15 PM
Farooq Khan.S
Farooq Khan.S - avatar
+ 1
is that just <br/> and next line start
13th Mar 2017, 4:59 PM
NAEEM AHMED
NAEEM AHMED - avatar
+ 1
😎Thank you
15th Mar 2017, 2:59 PM
year 4
+ 1
Wright tittle
15th Mar 2017, 2:59 PM
year 4
0
<br> or <br/> You can use both... bt it is better and recommended to use <br/> for line break,,
2nd May 2020, 12:22 PM
Moshiur Rahman Rony
Moshiur Rahman Rony - avatar