Prime

Shortcodes

Copy useful codes for prime symbol ′ to use in websites, apps, blogs, and docs.

Unicode
U+2032
HTML Code
′
HTML Entity
′
HEX Code
′
CSS Code
\2032
JS/JSON
\u2032
Unix/C/PHP/JAVA
0x2032
URL-encode
%E2%80%B2

Customize Prime

Customize ′, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use Prime Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>′</span>
HTML Code:
<span>&#8242;</span>
HTML Entity:
<span>&prime;</span>
HEX Code:
<span>&#x2032;</span>

Add with CSS

.prime::before {
  content: '\\2032';
}

Set it in JavaScript

document.querySelector('.prime').textContent = '′';
copied