Horizontal Traffic Light
๐ฅ
Shortcodes
Copy useful codes for horizontal traffic light symbol ๐ฅ to use in websites, apps, blogs, and docs.
Unicode
U+1F6A5 HTML Code
🚥 HEX Code
🚥 CSS Code
\1F6A5 JS/JSON
\u1F6A5 Unix/C/PHP/JAVA
0x1F6A5 URL-encode
%F0%9F%9A%A5 Customize Horizontal Traffic Light
Customize ๐ฅ, download it as SVG or PNG, or copy the generated HTML snippet.
๐ฅ
How to use Horizontal Traffic Light Symbol in HTML, CSS, and JS
Insert in HTML
1. Direct symbol:
<span>๐ฅ</span> HTML Code:
<span>🚥</span> HEX Code:
<span>🚥</span> Add with CSS
.horizontal-traffic-light::before {
content: '\\1F6A5';
} Set it in JavaScript
document.querySelector('.horizontal-traffic-light').textContent = '๐ฅ';