Prime HTML entity ′

′ is the HTML entity for Prime ′ (U+2032). Copy the decimal ′ and hex ′ codes plus CSS, JavaScript, Python and URL escapes.

Entity
′
Code point
U+2032
Unicode name
PRIME
Block
General Punctuation
Category
Other punctuation (Po)
Since
Unicode 1.1
Defined in
HTML 4.01 and 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: "\2032";In a stylesheet, for ::before and ::after.
JavaScript"\u2032"Also valid in JSON.
Python"\u2032"Python 3 string literal.
Python by name"\N{PRIME}"Readable alternative using the Unicode name.
URL%E2%80%B2Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 80 B23 bytes.
UTF-1620321 code unit, which is what JavaScript length counts.

When to use it

The prime marks feet and minutes of arc (6′, 30′) and derivatives in maths (f′). It is not an apostrophe or a quote mark, though it is often replaced by one for lack of a key.

The name dates from HTML 4, so it works in every browser and in old email clients.

More punctuation and typography

All punctuation and typography · 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).