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 (41)

Collapse
 
ryansmith profile image
Ryan Smith • Edited

The original HTML layout syntax
Home       About       Contact πŸ˜…

Collapse
 
dexygen profile image
George Jempty • Edited

You forgot ·

Collapse
 
ferricoxide profile image
Thomas H Jones II

Always more a fan of •.

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

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

Collapse
 
codemouse92 profile image
Jason C. McDonald

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

Collapse
 
devhead profile image
dev-head

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

Collapse
 
starbist profile image
Silvestar BistroviΔ‡ • Edited

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

Thread 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 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 Thread
 
kenbellows profile image
Ken Bellows

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

Collapse
 
moopet profile image
Ben Sinclair • Edited

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

Collapse
 
lautarolobo profile image
Lautaro Lobo

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

Thread Thread
 
savagepixie profile image
SavagePixie

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

Collapse
 
mellen profile image
Matt Ellen

And & is short for et c.

Collapse
 
codemouse92 profile image
Jason C. McDonald

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

Thread Thread
 
ferricoxide profile image
Thomas H Jones II

What do I get for "anti-virgule"?

Collapse
 
adam_cyclones profile image
Adam Crockett

Is that a pointer in this notation?

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

Collapse
 
deciduously profile image
Ben Lovy

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

Collapse
 
isaacdlyman profile image
Isaac Lyman

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

Collapse
 
0xdonut profile image
Mr F.

nbsp; = never boil smelly potatoes;

Collapse
 
ben profile image
Ben Halpern

You can't tell me what to do

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

πŸ˜‚

Collapse
 
philnash profile image
Phil Nash

So many of these things we rarely question!

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

Collapse
 
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 πŸ˜‚

Collapse
 
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).

Collapse
 
leob profile image
leob

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

Collapse
 
lukegarrigan profile image
Luke Garrigan

I knew this πŸ’ͺ #10xdev

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

Collapse
 
blindfish3 profile image
Ben Calder

&zwj;

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

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

Collapse
 
ferricoxide profile image
Thomas H Jones II

Always makes me think of:

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

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

Collapse
 
missamarakay profile image
Amara Graham

URL - Uniform Resource Locator
URI - Uniform Resource Identifier

I mean it makes sense. But it doesn't make sense that I only learned this.... yesterday lol

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