NBSP
Alternatively called a fixed space or hard space, NBSP (non-breaking space) is used in programming and word processing to create a space in a line that cannot be broken by word wrap. With HTML, allows you to create multiple spaces that are visible on a web page and not only in the source code.
Creating A Fixed Space In A Word Processor And Other Programs
To create a fixed or hard space in a word
processor such as Microsoft Office or LibreOffice, use one of the keyboard shortcut below.
Microsoft
Windows
Ctrl+Alt+Space, or
Ctrl+Space.
Or, hold down Alt and
press 0160 or 255 on the num pad.
macOS
Option+Space.
Microsoft
Word
Ctrl+Shift+Space.
WordPerfect
Ctrl+Space.
LibreOffice
Ctrl+Space (before 3.0)
or Ctrl+Shift+Space (after 3.0).
Creating an NBSP in
HTML
An example of how a user may insert an NBSP in
HTML would be by adding the below extended HTML tag.
or
 
With the examples above, using this tag would
allow you to create multiple spaces in a row, something that cannot be done by
only pressing the spacebar.
To create multiple spaces, add one of the above non-breaking space tags for
each time you want an extra space. For example, if you wanted ten extra spaces
in front of text you could add ten of these tags.