+ 3

I used <br> and </br> instead of <br/>. But why it makes no change in the output?

20th Mar 2018, 12:28 PM
Valli Kowsalya
Valli Kowsalya - avatar
3 ответов
+ 6
br tag is used for single line breaks
20th Mar 2018, 1:06 PM
Arpit Mittal
Arpit Mittal - avatar
+ 4
HTML ignores your </br> as it has no knowledge of it. <br> and <br/> are equivalent to it. XHTML is where you must use <br/> as it requires each tag to have a close or, when there is no close, you add the / in the tag to show that fact.
20th Mar 2018, 1:30 PM
John Wells
John Wells - avatar
+ 1
Both are used for same purpose. It uses for single line breaks.
20th Mar 2018, 12:33 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar