Opentopia Directory Encyclopedia Tools

Non-breaking space

Encyclopedia : N : NO : NON : Non-breaking space


In computing, a non-breaking space (NBSP) is a special space character that prevents an automatic line break (line wrap) at its position. It is also known as a hard space or fixed space. It can also be used to get multiple spaces in a row in systems like HTML that reduce sequences of normal spaces to a single space.

The difference between a NBSP and a normal space is that, when a string including the NBSP comes at the end of the line, and is too long to fit, it will move the whole string to the next line (including the strings that the NBSP connects to). This is analogous to how normal strings wrap. For example, the string "ambidextrously" will never be "broken", and neither will the string "am bi dextrou sly" (ie. "am bi dextrou sly").

Uses

Here are some situations in which using nonbreaking spaces is suggested. (Note that you will not be able to see the effects of the space unless your screen is fairly narrow.) Try resizing your browser window and seeing how some of the strings below move to the next line if they are too long to fit.

Encodings

Word processors may use different methods to enter a nonbreaking space on the keyboard. For examples:

Other types

There are several other non-breaking spaces in the Universal Character Set (ISO 10646) and Unicode:

See also

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: