For a non-breaking space, use (name) or   (number)
HTML file: | Displayed by browser: |
---|---|
<p>Each word has five spaces between them.</p> <hr />
<p>Each word has five spaces between them.</p> <hr /> <p>The second paragraph has 4 space entities between each word, as well as a space. The browser still displays the space and each entity, so that gives us five spaces between each word.</p> |
Each word has five spaces between them. Each word has five spaces between them. The second paragraph has 4 space entities between each word, as well as a space. The browser still displays the space and each entity, so that gives us five spaces between each word. |
Remember, the browser ignores multiple spaces, which is why the first paragraph displays with only one space between each word.