More
More
Vulgar Fraction One Fifth HTML entity ⅕
⅕ is the HTML entity for Vulgar Fraction One Fifth ⅕ (U+2155). Copy ⅕, ⅕ and the CSS, JavaScript, Python and URL escapes.
- Entity
⅕- Code point
- U+2155
- Unicode name
- VULGAR FRACTION ONE FIFTH
- 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: "\2155";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2155"Also valid in JSON. | |
| Python | "\u2155"Python 3 string literal. | |
| Python by name | "\N{VULGAR FRACTION ONE FIFTH}"Readable alternative using the Unicode name. | |
| URL | %E2%85%95Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 85 953 bytes. | |
| UTF-16 | 21551 code unit, which is what JavaScript length counts. |
When to use it
⅕ writes U+2155 (Vulgar Fraction One Fifth), 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 Three Fifths⅓Vulgar Fraction One Third⅘Vulgar Fraction Four FifthsⅈDouble-Struck Italic Small I⅙Vulgar Fraction One SixthⅇDouble-Struck Italic Small E⅚Vulgar Fraction Five SixthsⅆDouble-Struck Italic Small D
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).