DEV Community

Discussion on: & nbsp ; stands for "non-breaking space" 🤯

Collapse
 
brob profile image
Bryan Robinson • Edited

I love that it's non-breaking. It's a super power. I use it to attach a right angle quote to the end of a link's text to make sure it wraps with the last word:

<a>Some amount of text here&nbsp;&raquo;</a>

That will keep "here" and the arrows together. It'll keep you from getting a random 1 line of text and 1 line with just >>