Posted by CANbike on Sun, 29 Oct 2017

HTML Encoding for Common Fractions

The following is a list of HTML encodings for fractions 1/16 to 15/16.

Common Fractions

Fraction HTML Encoding
¹⁄₁₆ ¹⁄₁₆
⅛
³⁄₁₆ ³⁄₁₆
¼ ¼
⁵⁄₁₆ ⁵⁄₁₆
⅜
⁷⁄₁₆ ⁷⁄₁₆
½ ½
⁹⁄₁₆ ⁹⁄₁₆
⅝
¹¹⁄₁₆ ¹¹⁄₁₆
¾ ¾
¹³⁄₁₆ ¹³⁄₁₆
⅞
¹⁵⁄₁₆ ¹⁵⁄₁₆

Other Fractions

Any fraction can be created using superscripts, the “fraction slash”, and subscripts.

Reference Table:

Superscript Subscript
Number HTML Encoding HTML Encoding
0 ⁰ ₀
1 ¹ ₁
2 ² ₂
3 ³ ₃
4 ⁴ ₄
5 ⁵ ₅
6 ⁶ ₆
7 ⁷ ₇
8 ⁸ ₈
9 ⁹ ₉


Fraction Slash:

Symbol HTML Encoding
⁄


Example 123/789:

The code "¹²³⁄₇₈₉" produces the fraction ¹²³⁄₇₈₉


HTML Encodings for Common Fractions-thumb.pngHTML Fractions-Superscript and Subscript-thumb.png