Also known as a fixed space or hard space, NBSP is short for Non-Breaking SPace and is used in programming, HTML, and word processing to create a space in a line that cannot be broken by word wrap on in the case of HTML create multiple spaces.
added 1 year ago
For example, you want to write this These are the results :
You would want to keep the ":" attached to the line and not let the browser render it on a separate line when there's no free space on the line. Without a no-break space it could show up like this:
| These are the results : |
Replace the space before the semicolon with   and the ":" will stick to the preceding word, so it will always look like this :
| These are the results : |
| These spaces will collapse, but these &   are &   shown. |
| |
| These spaces will collapse, but these are shown. |
| |
And this character can be used to create space between other elements then text, like images.
added 1 month ago
You need to be signed in to comment and answer questions.
Members can sign in here.
If you are new to Askables, please register for free.
You are viewing a question asked by one of our members.
You too can ask questions and get advice from experts, authors and bloggers.
votes
posted 3 years ago by Skinnygourmet
votes
posted 2 years ago by PamelaBlondiewrites
votes
posted 2 years ago by Jamie
votes
posted 2 years ago by DMcGaw
votes
posted 2 years ago by anuj291
votes
posted 2 years ago by LovingWriting
votes
posted 2 years ago by pinakigoswami
votes
posted 2 years ago by anuj291
votes
posted 2 years ago by anuj291
votes
posted 2 years ago by Princeguru
votes
posted 2 years ago by cookie67
votes
posted 2 years ago by RekatksiR
votes
posted 2 years ago by anuj291
votes
posted 3 years ago by Edward.Shalts
votes
posted 2 years ago by PamelaBlondiewrites
votes
posted 3 years ago by schmeidi
votes
posted 3 years ago by Ken.Flegel
vote
posted 3 years ago by Bryan.Wong
Verification helps protect us and our community from the Internet bad guys.
Please verify your email address to continue.
0
votes
nbsp stand for no break space. used in html with " " and browser will parse it as white space
added 2 years ago
exil0r
45 points