answersLogoWhite

0

What is the purpose of a non-breaking space?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

Assuming that this question is about HTML: Web Browsers and email programs normally will break a line of text that is too long to fit in the window into multiple lines. Normally, lines are split or wrapped at the final space that fits in the window.

If the HTML author finds it undesirable to have a line of text broken at a particular space, the HTML author can replace that space with a non-breaking space. The browser or email program will keep the two words that surround the non-breaking space together and break the line at the preceding space.

A non-breaking space is coded as "" ". A normal space is just a space, although it can also be coded as " " or " ".

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the purpose of a non-breaking space?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions