[ ]
Description
Em space Unicode character is equal to the width of capital alphabet “M”. It is equivalent to the currently specified font size.
Shortcodes
Unicode | U+2003 | |
---|---|---|
HTML Code |   | |
HEX Code |   | |
CSS Code | \2003 | |
HTML Entity |   |
How to add Em Space character in HTML?
To add the Em 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: Em Space Character
The above code will show this result: Em Space Character
An HTML Entity(named) or HEX Code can also display the character in HTML.
How to add Em Space character using CSS?
You can show Em 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: '\2003';
}