
Place your cursor where the nonbreaking space should be inserted. This shortcut has actually been covered in a different WordTip. The quick answer is that yes, there is a keyboard shortcut for non-breaking spaces: it is Ctrl+Shift+Spacebar. For example, if you wanted ten extra spaces in front of text you could add ten of these tags.Lists Unordered Lists Ordered Lists Other Lists HTML Block & Inline HTML Classes HTML Id HTML Iframes HTML JavaScript HTML File Paths HTML Head HTML Layout HTML Responsive HTML Computercode HTML Semantics HTML Style Guide HTML Entities HTML Symbols HTML Emojis HTML Charset HTML URL Encode HTML vs. Insert Nonbreaking Spaces in Microsoft Word Using the Keyboard Shortcut. He wants to replace all of them with a 'non-breaking space,' so he wonders if there is a keyboard shortcut for entering the non-breaking space in the document. To create multiple spaces, add one of the above non-breaking space tags for each time you want an extra space. 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. Creating an NBSP in HTMLĪn example of how a user may insert an NBSP in HTML would be by adding the below extended HTML tag. macOSĬtrl+ Spacebar (before 3.0) or Ctrl+ Shift+ Spacebar (after 3.0). Or, hold down Alt and press 0160 or 255 on the num pad. To create a fixed or hard space in a word processor such as Microsoft Office or LibreOffice, use one of the keyboard shortcuts below.

However, when you can, its better to enter the html character code. Creating a fixed space in a word processor and other programs In most templates you can just type option-space to get a non-breaking space. With HTML, lets you create multiple spaces that are visible on a web page and not only in the source code. 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. In HTML, youd use United States and the browser will treat the whole thing as a single word rather than two words.
