More
More
En Space HTML entity  
  is the HTML entity for En Space (U+2002). Copy the decimal   and hex   codes plus CSS, JavaScript, Python and URL escapes.
- Entity
 - Code point
- U+2002
- Unicode name
- EN SPACE
- Block
- General Punctuation
- Category
- Space separator (Zs)
- Since
- Unicode 1.1
- Defined in
- HTML 4.01 and HTML5
Codes to copy
| HTML named |  Works in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal |  Works in HTML and XML. | |
| HTML hex |  Works in HTML and XML. | |
| CSS | content: "\2002";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2002"Also valid in JSON. | |
| Python | "\u2002"Python 3 string literal. | |
| Python by name | "\N{EN SPACE}"Readable alternative using the Unicode name. | |
| URL | %E2%80%82Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 80 823 bytes. | |
| UTF-16 | 20021 code unit, which is what JavaScript length counts. |
When to use it
A fixed space half an em wide (an em is the font size). Unlike ordinary spaces, it is not collapsed with its neighbours, so it gives a predictable gap; it can still break a line.
The name dates from HTML 4, so it works in every browser and in old email clients.
It has no visible shape of its own, which is why the box above shows it with a tinted background.
More spaces and invisible characters
­Soft Hyphen Three-Per-Em Space Non-Breaking Space Four-Per-Em Space
Line Feed Figure Space	Tab Character Punctuation Space
All spaces and invisible characters · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).