Union

Shortcodes

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

Unicode
U+222A
HTML Code
∪
HEX Code
∪
CSS Code
\222A
JS/JSON
\u222A
Unix/C/PHP/JAVA
0x222A
URL-encode
%E2%88%AA
copied

Customize Union Symbol

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

Insert ∪ Union using HTML

1. Copy-paste Union directly:
<span>∪</span>
2. HTML Decimal Code:
<span>&#8746;</span>
3. Hexadecimal Code:
<span>&#x222A;</span>
Preview:

Add Union symbol with CSS

.union::before {
    content: '\\222A';
}
Preview: Union

Union JavaScript Code

1. Direct Symbol:
document.querySelector('.union').textContent = '∪';
2. Unicode Escape for ∪:
document.querySelector('.union').textContent = '\u222A';
Preview: