EN
HTML - empty character (empty space)
7 points
In this article, we would like to show how in HTML create an empty character called zero-width space.

The zero-width space (), abbreviated ZWSP, is a non-printing character used in computerized typesetting to indicate word boundaries to text processing systems when using scripts that do not use explicit spacing, or after characters (such as the slash) that are not followed by a visible space but after which there may nevertheless be a line break - Wikipedia Source.
Quick solution (use ​
or ​
):
xxxxxxxxxx
1
Hi​there!!! <br />
2
3
Hi​there!!!
Note: the zero-width space character is encoded in Unicode as
U+200B
.
xxxxxxxxxx
1
Hi<wbr />there!!! <br />
2
3
<span>Hi</span><span>there!!!</span>