White Rectangle

Shortcodes

Copy useful codes for white rectangle symbol ▭ to use in websites, apps, blogs, and docs.

Unicode
U+25AD
HTML Code
▭
HEX Code
▭
CSS Code
\25AD
JS/JSON
\u25AD
Unix/C/PHP/JAVA
0x25AD
URL-encode
%E2%97%AD

Customize White Rectangle

Customize ▭, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use White Rectangle Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>▭</span>
HTML Code:
<span>&#9645;</span>
HEX Code:
<span>&#x25AD;</span>

Add with CSS

.white-rectangle::before {
  content: '\\25AD';
}

Set it in JavaScript

document.querySelector('.white-rectangle').textContent = '▭';
copied