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

+12

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

2/18/2020 7:35:47 PM

JESUS EDUARDO CANUL KOYOC

5 Answers

New Answer

+9

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

+3

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

+2

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

0