Zero Width Space (U+200B)

[​]

Description

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.

Shortcodes

UnicodeU+200B
HTML Code​
HTML Entity​
HEX Code​
CSS Code\200B

How to add Zero Width Space character in HTML?

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.

How to add Zero Width Space character using CSS?

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.

Example:

.elementClass:after {
  content: '\200B';
}
Scroll to Top