White Medium Star

Shortcodes

Copy and paste codes for White Medium Star symbol ⭐ to use in your websites, apps, blogs, and more.

Unicode
U+2B50
HTML Code
⭐
HEX Code
⭐
CSS Code
\2B50
JS/JSON
\u2B50
Unix/C/PHP/JAVA
0x2B50
URL-encode
%E2%AD%90
copied

Customize White Medium Star Symbol

Customize ⭐ symbol as you like and download White Medium Star 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 White Medium Star symbol in HTML, CSS, and JS?

Insert ⭐ White Medium Star using HTML

1. Copy-paste White Medium Star directly:
<span>⭐</span>
2. HTML Decimal Code:
<span>&#11088;</span>
3. Hexadecimal Code:
<span>&#x2B50;</span>
Preview:

Add White Medium Star symbol with CSS

.white-medium-star::before {
    content: '\\2B50';
}
Preview: White Medium Star

White Medium Star JavaScript Code

1. Direct Symbol:
document.querySelector('.white-medium-star').textContent = '⭐';
2. Unicode Escape for ⭐:
document.querySelector('.white-medium-star').textContent = '\u2B50';
Preview: