More
More
Vulgar Fraction One Sixth HTML entity ⅙
⅙ is the HTML entity for Vulgar Fraction One Sixth ⅙ (U+2159). Copy ⅙, ⅙ and the CSS, JavaScript, Python and URL escapes.
- Entity
⅙- Code point
- U+2159
- Unicode name
- VULGAR FRACTION ONE SIXTH
- 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: "\2159";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2159"Also valid in JSON. | |
| Python | "\u2159"Python 3 string literal. | |
| Python by name | "\N{VULGAR FRACTION ONE SIXTH}"Readable alternative using the Unicode name. | |
| URL | %E2%85%99Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 85 993 bytes. | |
| UTF-16 | 21591 code unit, which is what JavaScript length counts. |
When to use it
⅙ writes U+2159 (Vulgar Fraction One Sixth), 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 One Eighth⅗Vulgar Fraction Three Fifths⅜Vulgar Fraction Three Eighths⅖Vulgar Fraction Two Fifths⅝Vulgar Fraction Five Eighths⅕Vulgar Fraction One Fifth⅞Vulgar Fraction Seven Eighths⅔Vulgar Fraction Two Thirds
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).