White Medium Star

Shortcodes

Copy useful codes for white medium star symbol ⭐ to use in websites, apps, blogs, and docs.

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

Customize White Medium Star

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

  

How to use White Medium Star Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>⭐</span>
HTML Code:
<span>&#11088;</span>
HEX Code:
<span>&#x2B50;</span>

Add with CSS

.white-medium-star::before {
  content: '\\2B50';
}

Set it in JavaScript

document.querySelector('.white-medium-star').textContent = '⭐';
copied