Zero Width Space (U+200B)



Zero Width Space is a whitespace Unicode character but with zero width and hence does not indicate a visible width or separation between two characters.


Unicode U+200B
HTML Code ​
HTML Entity ​
HEX Code ​
CSS Code \200B

To add the Zero Width Space character in HTML, you can use HTML code(decimal), HEX code, or HTML entity(named). Copy the available codes from the Shortcodes table and paste it in your HTML code.

For example: Zero Width Space​Character

The above code will show this result: Zero Width Space​Character

An HTML Entity(named) or HEX Code can also display the character in HTML.

You can show Zero Width Space character using CSS by utilizing CSS shortcode or entity. Use :before or :after to insert symbol before or after an element.


.elementClass:after {
  content: '\200B';