When i have long url link, it breaks and overflow the parent container.
<a href="">http://www.example.com/somg-looooooooooooooooooooooooooooooooooong-url</a>
To fix this, i tried to use either one of the following in CSS. Both of them works.
word-wrap
a {
word-wrap: break-word;
}
word-break
a {
word-break: break-all
}
What is the difference between word-wrap and word-break? which one is better than other?