Asterisk Operator

Shortcodes

Copy and paste codes for Asterisk Operator symbol ∗ to use in your websites, apps, blogs, and more.

Unicode
U+2217
HTML Code
∗
HTML Entity
∗
HEX Code
∗
CSS Code
\2217
JS/JSON
\u2217
Unix/C/PHP/JAVA
0x2217
URL-encode
%E2%88%97
copied

Customize Asterisk Operator Symbol

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

Insert ∗ Asterisk Operator using HTML

1. Copy-paste Asterisk Operator directly:
<span>∗</span>
2. HTML Decimal Code:
<span>&#8727;</span>
3. HTML Entity:
<span>&lowast;</span>
4. Hexadecimal Code:
<span>&#x2217;</span>
Preview:

Add Asterisk Operator symbol with CSS

.asterisk-operator::before {
    content: '\\2217';
}
Preview: Asterisk Operator

Asterisk Operator JavaScript Code

1. Direct Symbol:
document.querySelector('.asterisk-operator').textContent = '∗';
2. Unicode Escape for ∗:
document.querySelector('.asterisk-operator').textContent = '\u2217';
Preview: