Proportion

Shortcodes

Copy and paste codes for Proportion symbol ∷ to use in your websites, apps, blogs, and more.

Unicode
U+2237
HTML Code
∷
HEX Code
∷
CSS Code
\2237
JS/JSON
\u2237
Unix/C/PHP/JAVA
0x2237
URL-encode
%E2%88%B7
copied

Customize Proportion Symbol

Customize ∷ symbol as you like and download Proportion as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.

                        
                    

How to add Proportion symbol in HTML, CSS, and JS?

Insert ∷ Proportion using HTML

1. Copy-paste Proportion directly:
<span>∷</span>
2. HTML Decimal Code:
<span>&#8759;</span>
3. Hexadecimal Code:
<span>&#x2237;</span>
Preview:

Add Proportion symbol with CSS

.proportion::before {
    content: '\\2237';
}
Preview: Proportion

Proportion JavaScript Code

1. Direct Symbol:
document.querySelector('.proportion').textContent = '∷';
2. Unicode Escape for ∷:
document.querySelector('.proportion').textContent = '\u2237';
Preview: