No-Break space (NBSP) Unicode character adds a space in between two words without breaking the line.
How to type No-Break Space character using Keyboard?
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.
How to add No-Break Space character in HTML?
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.
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.
How to add No-Break Space character using CSS?
You can show No-Break Space character using CSS by utilizing CSS shortcode or entity. Use
:after to insert symbol before or after an element.