No-Break Space (U+00A0)
Description:
No-Break space (NBSP) Unicode character adds a space in between two words without breaking the line.
Shortcodes:
Unicode | U+00A0 | |
---|---|---|
HTML Code |   | |
HTML Entity | | |
HEX Code |   | |
CSS Code | \00A0 | |
Alt Code | 255 |
To type the No-Break Space character using your keyboard you can utilize the Alt Code. Simply hold down the left Alt key on your keyboard and type the number 255. After typing release the Alt key. Please note that you must type the code from the Numpad and not from the numbers that are at top. Also, make sure that your numlock is on.
If you don't have Numpad on your keyboard then copy the character from above.
To add the No-Break Space character in HTML, you can use HTML code(decimal), HEX code, or HTML entity(named). Copy the available codes from the Shortcodes table and paste it in your HTML code.
For example: No-Break Space Character
The above code will show this result: No-Break Space Character
An HTML Entity(named) or HEX Code can also display the character in HTML.
You can show No-Break Space character using CSS by utilizing CSS shortcode or entity.
Use :before
or :after
to insert symbol before or after an element.
Example:
.elementClass:after {
content: '\00A0';
}
- More Blank Characters
- Space (U+0020)
- Zero Width Space (U+200B)
- En Space (U+2002)
- Em Space (U+2003)
- Hangul Filler (U+3164)
- Three-Per-Em Space (U+2004)
- Four-Per-Em Space (U+2005)
- Six-Per-Em Space (U+2006)
- Figure Space (U+2007)
- Punctuation Space (U+2008)
- Thin Space (U+2009)
- Hair Space (U+200A)
- Narrow No-Break Space (U+202F)
- Medium Mathematical Space (U+205F)
- Ideographic Space (U+3000)