+ 12

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

18th Feb 2020, 7:35 PM
Cmurio
Cmurio - avatar
4 odpowiedzi
+ 9
<br> forces a line break at a specified position. <wbr> may insert a line break if the browser decides that it is necessary.
18th Feb 2020, 7:49 PM
Michael
Michael - avatar
+ 3
<br.> forcefully breaks the line probably a sentence in a paragraph while <wbr> specifies when the break should occur.
19th Feb 2020, 10:50 AM
Franklyn Akinnusi
Franklyn Akinnusi - avatar
+ 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
23rd Jun 2021, 8:16 PM
Hacker-KR4636
Hacker-KR4636 - avatar
0
I not know
23rd Jun 2021, 6:07 PM
CGO!
CGO! - avatar