What is the difference between <br> and <wbr> | Sololearn: Learn to code for FREE!


What is the difference between <br> and <wbr>

2/18/2020 7:35:47 PM


5 Answers

New Answer


<br> forces a line break at a specified position. <wbr> may insert a line break if the browser decides that it is necessary.


<br.> forcefully breaks the line probably a sentence in a paragraph while <wbr> specifies when the break should occur.


JESUS EDUARDO CANUL KOYOC just like the two first guys pointed out, <wbr> tag specifies that browser should decide add a new line or not, if the text to be displayed (text before <wbr>) doesn't fit to the screen. <br> tag especifies that the text next to <br> should be displayed in a new line. But I think they can't be used in html5, you should use css