DEV Community

loading...

Discussion on: What is the <wbr> HTML tag and why do I need it?

Collapse
merri profile image
Vesa Piittinen • Edited

Nice to know about this option! Yet I think most often &shy; is likely to be more appropriate.

Collapse
sebring profile image
J. G. Sebring

Shy to the rescue! I was "Hey, I've had this problem once and I know I solved differently" while I read this article. But now I know a solution that won't add a visible hyphen, if that happens to be undesirable.

Collapse
dailydevtips1 profile image
Chris Bongers Author

Yep! Shy is pretty solid as well!

Collapse
dailydevtips1 profile image
Chris Bongers Author

Indeed learned about shy whilst having this article, so going to dedicate another one for shy :D

It's super powerful, however!
And easier if you're using simple editors that don't need to format html

Collapse
mzaini30 profile image
Zen

&shy; is like newspaper style. Cool...