Train

๐Ÿš†

Shortcodes

Copy and paste codes for Train symbol ๐Ÿš† to use in your websites, apps, blogs, and more.

Unicode
U+1F686
HTML Code
🚆
HEX Code
🚆
CSS Code
\1F686
JS/JSON
\u1F686
Unix/C/PHP/JAVA
0x1F686
URL-encode
%F0%9F%9A%86
copied

Customize Train Symbol

Customize ๐Ÿš† symbol as you like and download Train 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 Train symbol in HTML, CSS, and JS?

Insert ๐Ÿš† Train using HTML

1. Copy-paste Train directly:
<span>๐Ÿš†</span>
2. HTML Decimal Code:
<span>&#128646;</span>
3. Hexadecimal Code:
<span>&#x1F686;</span>
Preview: ๐Ÿš†

Add Train symbol with CSS

.train::before {
    content: '\\1F686';
}
Preview: Train

Train JavaScript Code

1. Direct Symbol:
document.querySelector('.train').textContent = '๐Ÿš†';
2. Unicode Escape for ๐Ÿš†:
document.querySelector('.train').textContent = '\u1F686';
Preview: ๐Ÿš†