0

Can I use </br> instead of <br/> ?

May that cause some problems using XHTML?

13th Jul 2018, 8:37 AM
Семён
Семён - avatar
6 Respostas
+ 5
based on current w3c recommendations just <br> should be used
13th Jul 2018, 3:21 PM
Morpheus
Morpheus - avatar
+ 3
No, there is no </br>, incorrect syntax.
13th Jul 2018, 10:50 AM
Calviղ
Calviղ - avatar
+ 2
</br> has sense within xml context. It's interesting that some html browsers treat </br> as <br>, while other just ignore this.
13th Jul 2018, 11:07 AM
Микола Федосєєв
Микола Федосєєв - avatar
+ 2
HTML5 standard is <br>. However, Ract.js is <br />, closing tag is required for every tags in React.js
13th Jul 2018, 3:46 PM
Calviղ
Calviղ - avatar
+ 1
FYI - br and b are not the same thing probably a typo though
13th Jul 2018, 8:39 AM
Janning⭐
Janning⭐ - avatar
0
"<br/>" is the same as "<br></br>".
13th Jul 2018, 9:24 AM
Микола Федосєєв
Микола Федосєєв - avatar