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.
CSScontent: "\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 bytesE2 85 943 bytes.
UTF-1621541 code unit, which is what JavaScript length counts.

When to use it

&frac23; 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

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).