No-break Space

Shortcodes

Copy and paste codes for No-break Space symbol to use in your websites, apps, blogs, and more.

Unicode
U+00A0
Alt Code
0160
HTML Code
 
HTML Entity
 
HEX Code
 
CSS Code
\0A0
JS/JSON
\u00A0
Unix/C/PHP/JAVA
0x00A0
URL-encode
%C2%A0
copied

Customize No-break Space Symbol

Customize symbol as you like and download No-break Space as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
 

How to type No-break Space symbol ?

Using No-break Space Alt Code:

You can type the No-break Space symbol using your keyboard by using the Alt Code for No-break Space. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 0160 using the Numpad.
  3. Release the Alt key.

This will make the appear on your screen.

How to add No-break Space symbol in HTML, CSS, and JS?

Insert No-break Space using HTML

1. Copy-paste No-break Space directly:
<span> </span>
2. HTML Decimal Code:
<span>&#160;</span>
3. HTML Entity:
<span>&nbsp;</span>
4. Hexadecimal Code:
<span>&#x00A0;</span>
Preview:

Add No-break Space symbol with CSS

.no-break-space::before {
    content: '\\0A0';
}
Preview: No-break Space

No-break Space JavaScript Code

1. Direct Symbol:
document.querySelector('.no-break-space').textContent = ' ';
2. Unicode Escape for :
document.querySelector('.no-break-space').textContent = '\u00A0';
Preview: