+ 4
Which of these is the right <br>, <br/> or <br /> ?
4 Respuestas
+ 5
<br> is enough for HTML 5, but you can also use <br/> and <br /> for compatibility with XHTML.
You should prefer <br /> in XHTML.
https://www.w3.org/TR/xhtml1/#C_2
+ 1
React.js uses <br />
+ 1
All options are correct for HTML5 and can be used in code.
0
<br /> will work all old version. but you can use any of them for modern browser