Square Lozenge

Shortcodes

Copy and paste codes for Square Lozenge symbol ⌑ to use in your websites, apps, blogs, and more.

Unicode
U+2311
HTML Code
⌑
HEX Code
⌑
CSS Code
\2311
JS/JSON
\u2311
Unix/C/PHP/JAVA
0x2311
URL-encode
%E2%8C%91
copied

Customize Square Lozenge Symbol

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

Insert ⌑ Square Lozenge using HTML

1. Copy-paste Square Lozenge directly:
<span>⌑</span>
2. HTML Decimal Code:
<span>&#8977;</span>
3. Hexadecimal Code:
<span>&#x2311;</span>
Preview:

Add Square Lozenge symbol with CSS

.square-lozenge::before {
    content: '\\2311';
}
Preview: Square Lozenge

Square Lozenge JavaScript Code

1. Direct Symbol:
document.querySelector('.square-lozenge').textContent = '⌑';
2. Unicode Escape for ⌑:
document.querySelector('.square-lozenge').textContent = '\u2311';
Preview: