non-breaking space


non-breaking space

Also called a "hard space," it is a code inserted into a text document that ensures that two words are not split onto different lines. For example, in HTML, the NBSP "ampersand code" is widely used, not only to keep elements on the same line, but in order to display multiple blank spaces. In HTML, all contiguous space characters generated by pressing the space bar (ASCII 32 characters) are rendered as only one. See ASCII chart.


Non-Breaking Space
In this example, the six-character NBSP "ampersand code" ensures that "The" and "Best" stay on the same line. See ampersand codes.