+ 3

What is the different between <br> and <br /> for break?

I thought there are the same!

30th Jul 2016, 9:48 PM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar
6 Respostas
+ 4
<br>, unlike <p>, is a so called 'void element' and doesn't need a closing tag. It doesn't even need to be self-closing (<br />) in HTML5.
30th Jul 2016, 11:32 PM
ZinC
ZinC - avatar
+ 2
yes, but <br> is better and more correct.
31st Jul 2016, 10:19 PM
Abbas Motallebi
Abbas Motallebi - avatar
+ 2
Yes there is no need of <br/> instead we can write <br>
8th Aug 2016, 7:34 PM
Grandhi Surya Koteswara Rao
+ 1
They are not open and close tags, both are break tags in two different ways! I want to know the difference
1st Aug 2016, 3:27 AM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar
0
<b> break in HTML, </br> break in XHTML
25th Dec 2018, 5:10 PM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar
- 2
br dont need any closer
31st Jul 2016, 5:59 AM
sachin kakde
sachin kakde - avatar