More
More
Vulgar Fraction Two Thirds HTML entity ⅔
⅔ is the HTML entity for Vulgar Fraction Two Thirds ⅔ (U+2154). Copy ⅔, ⅔ and the CSS, JavaScript, Python and URL escapes.
- Entity
⅔- Code point
- U+2154
- Unicode name
- VULGAR FRACTION TWO THIRDS
- 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: "\2154";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2154"Also valid in JSON. | |
| Python | "\u2154"Python 3 string literal. | |
| Python by name | "\N{VULGAR FRACTION TWO THIRDS}"Readable alternative using the Unicode name. | |
| URL | %E2%85%94Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 85 943 bytes. | |
| UTF-16 | 21541 code unit, which is what JavaScript length counts. |
When to use it
⅔ writes U+2154 (Vulgar Fraction Two Thirds), 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 Two FifthsⅈDouble-Struck Italic Small I⅗Vulgar Fraction Three FifthsⅇDouble-Struck Italic Small E⅘Vulgar Fraction Four FifthsⅆDouble-Struck Italic Small D⅙Vulgar Fraction One SixthⅅDouble-Struck Italic Capital 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).