Anchor

Shortcodes

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

Unicode
U+2693
HTML Code
⚓
HEX Code
⚓
CSS Code
\2693
JS/JSON
\u2693
Unix/C/PHP/JAVA
0x2693
URL-encode
%E2%9A%93
copied

Customize Anchor Symbol

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

Insert ⚓ Anchor using HTML

1. Copy-paste Anchor directly:
<span>⚓</span>
2. HTML Decimal Code:
<span>&#9875;</span>
3. Hexadecimal Code:
<span>&#x2693;</span>
Preview:

Add Anchor symbol with CSS

.anchor::before {
    content: '\\2693';
}
Preview: Anchor

Anchor JavaScript Code

1. Direct Symbol:
document.querySelector('.anchor').textContent = '⚓';
2. Unicode Escape for ⚓:
document.querySelector('.anchor').textContent = '\u2693';
Preview: