More
More
Vulgar Fraction Two Fifths HTML entity ⅖
⅖ is the HTML entity for Vulgar Fraction Two Fifths ⅖ (U+2156). Copy ⅖, ⅖ and the CSS, JavaScript, Python and URL escapes.
- Entity
⅖- Code point
- U+2156
- Unicode name
- VULGAR FRACTION TWO FIFTHS
- Block
- Number Forms
- Category
- Other number (No)
- Since
- Unicode 1.1
- Defined in
- 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: "\2156";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2156"Also valid in JSON. | |
| Python | "\u2156"Python 3 string literal. | |
| Python by name | "\N{VULGAR FRACTION TWO FIFTHS}"Readable alternative using the Unicode name. | |
| URL | %E2%85%96Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 85 963 bytes. | |
| UTF-16 | 21561 code unit, which is what JavaScript length counts. |
When to use it
⅖ writes U+2156 (Vulgar Fraction Two Fifths), a number form from the Unicode Number Forms block, encoded since Unicode 1.1. These characters exist mostly for compatibility with older character sets; for anything beyond simple cases, <sup>, <sub> or MathML give more control.
The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.
More letterlike symbols, numbers and fractions
⅘Vulgar Fraction Four Fifths⅔Vulgar Fraction Two Thirds⅙Vulgar Fraction One Sixth⅓Vulgar Fraction One Third⅚Vulgar Fraction Five SixthsⅈDouble-Struck Italic Small I⅛Vulgar Fraction One EighthⅇDouble-Struck Italic Small E
All letterlike symbols, numbers and fractions · 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).