DEV Community

Ben Halpern
Ben Halpern

Posted on

&Nbsp Meaning & nbsp ; stands for "non-breaking space" 🤯

I 100% always thought of this as gobbledygook.

More information...

https://www.computerhope.com/jargon/n/nbsp.htm

Top comments (39)

 
ryansmith profile image
Ryan Smith • Edited

The original HTML layout syntax
Home       About       Contact 😅

 
dexygen profile image
George Jempty • Edited

You forgot ·

 
ferricoxide profile image
Thomas H Jones II

Always more a fan of •.

 
mgrsskls profile image
Michael Großklaus

That's what I used to do as well when starting with web development... I was typing every single character by hand though, because I didn't know shortcuts, not even copy&paste.

 
mortoray profile image
edA���qa mort‑ora‑y

Non-breaking doesn't necessarily mean non-collapsing. Though most renderers will not collapse those, I do believe it'd be okay by unicode.

 
codemouse92 profile image
Jason C. McDonald

Meanwhile, & is for ampersand, a.k.a. &

 
devhead profile image
dev-head

Furthermore, a.k.a; is for "Also Known As"... i.e. another name.

 
starbist profile image
Silvestar Bistrović • Edited

A bit furthermore, i.e. stands for id est and means roughly "that is".

Thread
 
dexygen profile image
George Jempty

The way I remember the difference between i.e. and e.g. is that, people think i.e. means "in/for example" but actually that's e.g. -- i.e. is "specifically"

Thread
 
ferricoxide profile image
Thomas H Jones II

Just never, never, never say "ect.". Makes me twitch every time I see it in print. Even worse when I see someone I know is an experienced UNIX/Linux user make that botch.

Thread
 
kenbellows profile image
Ken Bellows

@GeorgeJempty I always thought of "i.e." as "in essence"

 
moopet profile image
Ben Sinclair • Edited

Additionalmost, i.e. is for "id est", a Latin browser most people try to forget.

 
codemouse92 profile image
Jason C. McDonald

I've got a "smart aleck of the day" award around here somewhere for you...... :P

Thread
 
ferricoxide profile image
Thomas H Jones II

What do I get for "anti-virgule"?

 
mellen profile image
Matt Ellen-Tsivintzeli

And & is short for et c.

 
lautarolobo profile image
Lautaro Lobo

I always thought that i.e. was In Example, and e.g. Example Given...

Thread
 
savagepixie profile image
SavagePixie

Actually, e.g. stands for exempli gratia in Latin, which means "for the sake of example".

 
adam_cyclones profile image
Adam Crockett 🌀

Is that a pointer in this notation?

 
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 >>

 
deciduously profile image
Ben Lovy

It's still "nubsip" in my head. Sometimes, "nubusp".

 
isaacdlyman profile image
Isaac Lyman

My internal voice always says "noobspace." I don't know why.

 
philnash profile image
Phil Nash

So many of these things we rarely question!

Sharing the knowledge is &gt; keeping it to yourself.

 
darksmile92 profile image
Robin Kretzschmar

Feeling kind of dump but my brain associated it with "no blank space" during my training time back then even though I knew it produced a blank space and ever since was wired to that term.
Should get used to the real meaning 😂

 
0xdonut profile image
Mr F.

nbsp; = never boil smelly potatoes;

 
ben profile image
Ben Halpern

You can't tell me what to do

 
0xdonut profile image
Mr F. • Edited
<marquee><font size="3" color="red"><big>nbsp;nbsp; stop me! nbsp;nbsp;</big></font></marquee>
Thread
 
ben profile image
Ben Halpern

😂

 
ferricoxide profile image
Thomas H Jones II

Been a user of &nbsp; for a loooong time. A number of entities and ALT-key glyphs. Has confused many a co-worker, over the years, that I so frequently type characters from my number key pad (and that I've got so many memorized).

 
lukegarrigan profile image
Luke Garrigan

I knew this 💪 #10xdev

 
leob profile image
leob

Yep, and there's also &sp; which is a "breaking space".

 
jackharner profile image
Jack Harner 🚀

And here I was the opposite. Remembering "Non Breaking Space" was how I always remembered that the code was &nbsp;

 
blindfish3 profile image
Ben Calder

&zwj;

 
khrome83 profile image
Zane Milakovic

Such a honest tweet!

It’s crazy how many things in different languages we use, that have strange starts.

Btw what the hell is a tuple...

 
craigmc08 profile image
Craig McIlwrath

Double, triple, quadruple, quintuple, sextuple, septuple, and so on. It's the generalization of a grouping of things, an n-tuple is group of n things. Although, I always read tuple as too-pull, not tupp-ell as it's pronounced in quintuple.

 
ferricoxide profile image
Thomas H Jones II

Always makes me think of:

youtube.com/watch?reload=9&v=-mq7U...

 
giorgosk profile image
Giorgos Kontopoulos 👀

@ben I had a feeling that everyone knowing a little html would know this thing but I perhaps I had overused it back when it was used for padding/margin !!!

 
sebbdk profile image
Sebastian Vargr • Edited

I've used this for hacks in my early career more than i'd care to admit....

Some comments may only be visible to logged-in visitors. Sign in to view all comments.