Diameter Symbol

Shortcodes

Copy and paste codes for Diameter Symbol ⌀ to use in your websites, apps, blogs, and more.

Unicode
U+2300
HTML Code
⌀
HEX Code
⌀
CSS Code
\2300
JS/JSON
\u2300
Unix/C/PHP/JAVA
0x2300
URL-encode
%E2%8C%80
copied

Customize Diameter Symbol Symbol

Customize ⌀ symbol as you like and download Diameter Symbol 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 Diameter Symbol in HTML, CSS, and JS?

Insert ⌀ Diameter Symbol using HTML

1. Copy-paste Diameter Symbol directly:
<span>⌀</span>
2. HTML Decimal Code:
<span>&#8960;</span>
3. Hexadecimal Code:
<span>&#x2300;</span>
Preview:

Add Diameter Symbol with CSS

.diameter-symbol::before {
    content: '\\2300';
}
Preview: Diameter Symbol

Diameter Symbol JavaScript Code

1. Direct Symbol:
document.querySelector('.diameter-symbol').textContent = '⌀';
2. Unicode Escape for ⌀:
document.querySelector('.diameter-symbol').textContent = '\u2300';
Preview: