Superscript One

¹

Shortcodes

Copy useful codes for superscript one symbol ¹ to use in websites, apps, blogs, and docs.

Unicode
U+00B9
Alt Code
185
HTML Code
¹
HTML Entity
¹
HEX Code
¹
CSS Code
\00B9
JS/JSON
\u00B9
Unix/C/PHP/JAVA
0xB9
URL-encode
%C2%B9

Customize Superscript One

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

¹
  

How to use Superscript One Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>¹</span>
HTML Code:
<span>&#185;</span>
HTML Entity:
<span>&sup1;</span>
HEX Code:
<span>&#x00B9;</span>

Add with CSS

.superscript-one::before {
  content: '\\00B9';
}

Set it in JavaScript

document.querySelector('.superscript-one').textContent = '¹';
copied