Breaking space (opposite of non-breaking space)
HtmlHtml EntitiesHtml Problem Overview
While solving a little bug on a website caused by a non-breaking space (
) I was wondering if there's an opposite.
Is there an HTML code for a breaking space, and if so, what is it?
I saw mention in this question about a zero-width space (​
), but that won't give any width (obviously).
Does an HTML entity exist for a regular space?
Html Solutions
Solution 1 - Html
 
is a regular space (by its numeric ASCII value).
Solution 2 - Html
If you are using HTML and you would like more than one space to to appear, will not work. The unfortunate part about is it does not wrap properly because it is a non-breaking space.
For those that reached here looking for a solution, try the CSS
white-space: pre-wrap;
This will allow you to have multiple spaces side by side in a single line. It works great for chat programs.
Solution 3 - Html
There may be other blank entities (which won't compact to a single) but there is another workaround for doing some padding but still having some wrapping occur as required:
Use the "ZeroWidthSpace" html entity and alternate with either "nbsp" for clarity or simply a space character.
Solution 4 - Html
There are multiple html entities for regular white space, which allow breaking, for instance  
Read this article for more information: https://www.codetd.com/en/article/6915972