Vulgar Fraction Three Eighths HTML entity ⅜

⅜ is the HTML entity for Vulgar Fraction Three Eighths ⅜ (U+215C). Copy ⅜, ⅜ and the CSS, JavaScript, Python and URL escapes.

Entity
⅜
Code point
U+215C
Unicode name
VULGAR FRACTION THREE EIGHTHS
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: "\215C";In a stylesheet, for ::before and ::after.
JavaScript"\u215C"Also valid in JSON.
Python"\u215c"Python 3 string literal.
Python by name"\N{VULGAR FRACTION THREE EIGHTHS}"Readable alternative using the Unicode name.
URL%E2%85%9CPercent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 85 9C3 bytes.
UTF-16215C1 code unit, which is what JavaScript length counts.

When to use it

&frac38; writes U+215C (Vulgar Fraction Three Eighths), 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).