Code reference
CSS codes for symbols
CSS escapes such as \2192 for 2,563 symbols, ready for the content property of ::before and ::after.
2,563 symbols
CSS code table
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Basic Latin · U+0000–U+007F | |||
| Dollar Sign | \24 | ||
| Latin Small Letter S | \73 | ||
| Latin Small Letter X | \78 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Latin Extended-B · U+0180–U+024F | |||
| Latin Small Letter F With Hook | \192 | ||
| Latin Small Letter O With Ogonek | \1EB | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| IPA Extensions · U+0250–U+02AF | |||
| Latin Letter Small Capital G | \262 | ||
| Latin Letter Small Capital I | \26A | ||
| Latin Letter Small Capital N | \274 | ||
| Latin Letter Small Capital R | \280 | ||
| Latin Letter Small Capital Y | \28F | ||
| Latin Letter Small Capital B | \299 | ||
| Latin Letter Small Capital H | \29C | ||
| Latin Letter Small Capital L | \29F | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Cyrillic · U+0400–U+04FF | |||
| Cyrillic Small Letter Ghe With Stroke | \493 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Armenian · U+0530–U+058F | |||
| Right Facing Armenian Eternity Sign | \58D | ||
| Left Facing Armenian Eternity Sign | \58E | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Arabic · U+0600–U+06FF | |||
| Arabic Footnote Marker | \602 | ||
| Arabic Start Of Rub El Hizb | \6DE | ||
| Extended Arabic Indic Digit Five | \6F5 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| NKo · U+07C0–U+07FF | |||
| Nko Symbol Gbakurunen | \7F7 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Mandaic · U+0840–U+085F | |||
| Mandaic Punctuation | \85E | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Devanagari · U+0900–U+097F | |||
| Devanagari Om | \950 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Bengali · U+0980–U+09FF | |||
| Bengali Letter O | \993 | ||
| Bengali Rupee Mark | \9F2 | ||
| Bengali Rupee Sign | \9F3 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Gujarati · U+0A80–U+0AFF | |||
| Gujarati Om | \AD0 | ||
| Gujarati Rupee Sign | \AF1 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Tamil · U+0B80–U+0BFF | |||
| Tamil Rupee Sign | \BF9 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Thai · U+0E00–U+0E7F | |||
| Thai Currency Symbol Baht | \E3F | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Tibetan · U+0F00–U+0FFF | |||
| Tibetan Symbol Phur Pa | \FC8 | ||
| Tibetan Sign Rdel Nag Gsum | \FCF | ||
| Right Facing Svasti Sign | \FD5 | ||
| Left Facing Svasti Sign | \FD6 | ||
| Right Facing Svasti Sign With Dots | \FD7 | ||
| Left Facing Svasti Sign With Dots | \FD8 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Georgian · U+10A0–U+10FF | |||
| Georgian Capital Letter Phar | \10B4 | ||
| Georgian Letter Don | \10D3 | ||
| Georgian Letter Las | \10DA | ||
| Georgian Letter Ghan | \10E6 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Unified Canadian Aboriginal Syllabics · U+1400–U+167F | |||
| Canadian Syllabics Tth | \156F | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Ogham · U+1680–U+169F | |||
| Ogham Letter Or | \1696 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Runic · U+16A0–U+16FF | |||
| Fehu Rune | \16A0 | ||
| Uruz Rune | \16A2 | ||
| Thurisaz Rune | \16A6 | ||
| Ansuz Rune | \16A8 | ||
| Raidho Rune | \16B1 | ||
| Kenaz Rune | \16B2 | ||
| Gebo Rune | \16B7 | ||
| Wunjo Rune | \16B9 | ||
| Hagalaz Rune | \16BA | ||
| Nauthiz Rune | \16BE | ||
| Isa Rune | \16C1 | ||
| Jera Rune | \16C3 | ||
| Eihwaz Rune | \16C7 | ||
| Perthro Rune | \16C8 | ||
| Algiz Rune | \16C9 | ||
| Sowilo Rune | \16CA | ||
| Tiwaz Rune | \16CF | ||
| Berkano Rune | \16D2 | ||
| Ehwaz Rune | \16D6 | ||
| Mannaz Rune | \16D7 | ||
| Laguz Rune | \16DA | ||
| Ingwaz Rune | \16DC | ||
| Dagaz Rune | \16DE | ||
| Othala Rune | \16DF | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Khmer · U+1780–U+17FF | |||
| Khmer Currency Symbol Riel | \17DB | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Tai Tham · U+1A20–U+1AAF | |||
| Tai Tham Sign Wiang | \1AA0 | ||
| Tai Tham Sign Dokmai | \1AA5 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Phonetic Extensions · U+1D00–U+1D7F | |||
| Latin Letter Small Capital A | \1D00 | ||
| Latin Letter Small Capital C | \1D04 | ||
| Latin Letter Small Capital D | \1D05 | ||
| Latin Letter Small Capital E | \1D07 | ||
| Latin Letter Small Capital J | \1D0A | ||
| Latin Letter Small Capital K | \1D0B | ||
| Latin Letter Small Capital M | \1D0D | ||
| Latin Letter Small Capital O | \1D0F | ||
| Latin Letter Small Capital P | \1D18 | ||
| Latin Letter Small Capital T | \1D1B | ||
| Latin Letter Small Capital U | \1D1C | ||
| Latin Letter Small Capital V | \1D20 | ||
| Latin Letter Small Capital W | \1D21 | ||
| Latin Letter Small Capital Z | \1D22 | ||
| Modifier Letter Capital D | \1D30 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Superscripts and Subscripts · U+2070–U+209F | |||
| Superscript Zero | \2070 | ||
| Superscript Latin Small Letter I | \2071 | ||
| Superscript Four | \2074 | ||
| Superscript Five | \2075 | ||
| Superscript Six | \2076 | ||
| Superscript Seven | \2077 | ||
| Superscript Eight | \2078 | ||
| Superscript Nine | \2079 | ||
| Superscript Plus Sign | \207A | ||
| Superscript Minus | \207B | ||
| Superscript Equals Sign | \207C | ||
| Superscript Left Parenthesis | \207D | ||
| Superscript Right Parenthesis | \207E | ||
| Superscript Latin Small Letter N | \207F | ||
| Subscript Zero | \2080 | ||
| Subscript One | \2081 | ||
| Subscript Two | \2082 | ||
| Subscript Three | \2083 | ||
| Subscript Four | \2084 | ||
| Subscript Five | \2085 | ||
| Subscript Six | \2086 | ||
| Subscript Seven | \2087 | ||
| Subscript Eight | \2088 | ||
| Subscript Nine | \2089 | ||
| Subscript Plus Sign | \208A | ||
| Subscript Minus | \208B | ||
| Subscript Equals Sign | \208C | ||
| Subscript Left Parenthesis | \208D | ||
| Subscript Right Parenthesis | \208E | ||
| Latin Subscript Small Letter A | \2090 | ||
| Latin Subscript Small Letter E | \2091 | ||
| Latin Subscript Small Letter O | \2092 | ||
| Latin Subscript Small Letter X | \2093 | ||
| Latin Subscript Small Letter Schwa | \2094 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Currency Symbols · U+20A0–U+20CF | |||
| Euro Currency Sign | \20A0 | ||
| Colon Sign | \20A1 | ||
| Cruzeiro Sign | \20A2 | ||
| French Franc Sign | \20A3 | ||
| Lira Sign | \20A4 | ||
| Mill Sign | \20A5 | ||
| Naira Sign | \20A6 | ||
| Peseta Sign | \20A7 | ||
| Rupee Sign | \20A8 | ||
| Won Sign | \20A9 | ||
| New Sheqel Sign | \20AA | ||
| Dong Sign | \20AB | ||
| Euro Sign | \20AC | ||
| Kip Sign | \20AD | ||
| Tugrik Sign | \20AE | ||
| Drachma Sign | \20AF | ||
| German Penny Sign | \20B0 | ||
| Peso Sign | \20B1 | ||
| Guarani Sign | \20B2 | ||
| Austral Sign | \20B3 | ||
| Hryvnia Sign | \20B4 | ||
| Cedi Sign | \20B5 | ||
| Livre Tournois Sign | \20B6 | ||
| Spesmilo Sign | \20B7 | ||
| Tenge Sign | \20B8 | ||
| Indian Rupee Sign | \20B9 | ||
| Turkish Lira Sign | \20BA | ||
| Nordic Mark Sign | \20BB | ||
| Manat Sign | \20BC | ||
| Ruble Sign | \20BD | ||
| Lari Sign | \20BE | ||
| Bitcoin Sign | \20BF | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Optical Character Recognition · U+2440–U+245F | |||
| Ocr Bow Tie | \2445 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Block Elements · U+2580–U+259F | |||
| Upper Half Block | \2580 | ||
| Lower One Eighth Block | \2581 | ||
| Lower One Quarter Block | \2582 | ||
| Lower Three Eighths Block | \2583 | ||
| Lower Half Block | \2584 | ||
| Lower Five Eighths Block | \2585 | ||
| Lower Three Quarters Block | \2586 | ||
| Lower Seven Eighths Block | \2587 | ||
| Full Block | \2588 | ||
| Left Seven Eighths Block | \2589 | ||
| Left Three Quarters Block | \258A | ||
| Left Five Eighths Block | \258B | ||
| Left Half Block | \258C | ||
| Left Three Eighths Block | \258D | ||
| Left One Quarter Block | \258E | ||
| Left One Eighth Block | \258F | ||
| Right Half Block | \2590 | ||
| Light Shade | \2591 | ||
| Medium Shade | \2592 | ||
| Dark Shade | \2593 | ||
| Upper One Eighth Block | \2594 | ||
| Right One Eighth Block | \2595 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Supplemental Arrows-A · U+27F0–U+27FF | |||
| Upwards Quadruple Arrow | \27F0 | ||
| Downwards Quadruple Arrow | \27F1 | ||
| Anticlockwise Gapped Circle Arrow | \27F2 | ||
| Clockwise Gapped Circle Arrow | \27F3 | ||
| Right Arrow With Circled Plus | \27F4 | ||
| Long Leftwards Arrow | \27F5 | ||
| Long Rightwards Arrow | \27F6 | ||
| Long Left Right Arrow | \27F7 | ||
| Long Leftwards Double Arrow | \27F8 | ||
| Long Rightwards Double Arrow | \27F9 | ||
| Long Left Right Double Arrow | \27FA | ||
| Long Leftwards Arrow From Bar | \27FB | ||
| Long Rightwards Arrow From Bar | \27FC | ||
| Long Rightwards Squiggle Arrow | \27FF | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Miscellaneous Mathematical Symbols-B · U+2980–U+29FF | |||
| Circled White Bullet | \29BE | ||
| Circled Bullet | \29BF | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Supplemental Mathematical Operators · U+2A00–U+2AFF | |||
| Triple Nested Less Than | \2AF7 | ||
| Triple Nested Greater Than | \2AF8 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Supplemental Punctuation · U+2E00–U+2E7F | |||
| Dotted Right Pointing Angle | \2E16 | ||
| Inverted Interrobang | \2E18 | ||
| Reversed Question Mark | \2E2E | ||
| Ring Point | \2E30 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| CJK Symbols and Punctuation · U+3000–U+303F | |||
| Ideographic Number Zero | \3007 | ||
| Left Angle Bracket | \3008 | ||
| Right Angle Bracket | \3009 | ||
| Left Double Angle Bracket | \300A | ||
| Right Double Angle Bracket | \300B | ||
| Left Corner Bracket | \300C | ||
| Right Corner Bracket | \300D | ||
| Left White Corner Bracket | \300E | ||
| Right White Corner Bracket | \300F | ||
| Left Black Lenticular Bracket | \3010 | ||
| Right Black Lenticular Bracket | \3011 | ||
| Geta Mark | \3013 | ||
| Left Tortoise Shell Bracket | \3014 | ||
| Right Tortoise Shell Bracket | \3015 | ||
| Left White Lenticular Bracket | \3016 | ||
| Right White Lenticular Bracket | \3017 | ||
| Left White Tortoise Shell Bracket | \3018 | ||
| Right White Tortoise Shell Bracket | \3019 | ||
| Left White Square Bracket | \301A | ||
| Right White Square Bracket | \301B | ||
| Hangzhou Numeral Four | \3024 | ||
| Hangzhou Numeral Five | \3025 | ||
| Vertical Kana Repeat Mark | \3031 | ||
| Circled Postal Mark | \3036 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Katakana · U+30A0–U+30FF | |||
| Katakana Letter Tu | \30C4 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Enclosed CJK Letters and Months · U+3200–U+32FF | |||
| Parenthesized Ideograph One | \3220 | ||
| Parenthesized Ideograph Two | \3221 | ||
| Parenthesized Ideograph Three | \3222 | ||
| Parenthesized Ideograph Four | \3223 | ||
| Parenthesized Ideograph Five | \3224 | ||
| Parenthesized Ideograph Six | \3225 | ||
| Parenthesized Ideograph Seven | \3226 | ||
| Parenthesized Ideograph Eight | \3227 | ||
| Parenthesized Ideograph Nine | \3228 | ||
| Parenthesized Ideograph Ten | \3229 | ||
| Circled Ideograph One | \3280 | ||
| Circled Ideograph Two | \3281 | ||
| Circled Ideograph Three | \3282 | ||
| Circled Ideograph Four | \3283 | ||
| Circled Ideograph Five | \3284 | ||
| Circled Ideograph Six | \3285 | ||
| Circled Ideograph Seven | \3286 | ||
| Circled Ideograph Eight | \3287 | ||
| Circled Ideograph Nine | \3288 | ||
| Circled Ideograph Ten | \3289 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| CJK Compatibility · U+3300–U+33FF | |||
| Square Yuan | \3350 | ||
| Square Mg | \338E | ||
| Square Kg | \338F | ||
| Square Mm | \339C | ||
| Square Cm | \339D | ||
| Square Km | \339E | ||
| Square M Squared | \33A1 | ||
| Square Cc | \33C4 | ||
| Square Km Capital | \33CE | ||
| Square Ln | \33D1 | ||
| Square Log | \33D2 | ||
| Square Mil | \33D5 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| CJK Unified Ideographs · U+4E00–U+9FFF | |||
| Cjk Unified Ideograph 5143 | \5143 | ||
| Cjk Unified Ideograph 5186 | \5186 | ||
| Cjk Unified Ideograph 534d | \534D | ||
| Cjk Unified Ideograph 5350 | \5350 | ||
| Cjk Unified Ideograph 5706 | \5706 | ||
| Cjk Unified Ideograph 570e | \570E | ||
| Cjk Unified Ideograph 5713 | \5713 | ||
| Cjk Unified Ideograph 571c | \571C | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Vai · U+A500–U+A63F | |||
| Vai Syllable Zha | \A565 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Cyrillic Extended-B · U+A640–U+A69F | |||
| Combining Cyrillic Ten Millions Sign | \A670 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Javanese · U+A980–U+A9DF | |||
| Javanese Left Rerenggan | \A9C1 | ||
| Javanese Right Rerenggan | \A9C2 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Hangul Syllables · U+AC00–U+D7AF | |||
| Hangul Syllable Us | \C6C3 | ||
| Hangul Syllable Weon | \C6D0 | ||
| Hangul Syllable Yu | \C720 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Arabic Presentation Forms-A · U+FB50–U+FDFF | |||
| Rial Sign | \FDFC | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Small Form Variants · U+FE50–U+FE6F | |||
| Small Em Dash | \FE58 | ||
| Small Left Parenthesis | \FE59 | ||
| Small Right Parenthesis | \FE5A | ||
| Small Left Curly Bracket | \FE5B | ||
| Small Right Curly Bracket | \FE5C | ||
| Small Left Tortoise Shell Bracket | \FE5D | ||
| Small Right Tortoise Shell Bracket | \FE5E | ||
| Small Number Sign | \FE5F | ||
| Small Asterisk | \FE61 | ||
| Small Plus Sign | \FE62 | ||
| Small Hyphen Minus | \FE63 | ||
| Small Less Than Sign | \FE64 | ||
| Small Greater Than Sign | \FE65 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Halfwidth and Fullwidth Forms · U+FF00–U+FFEF | |||
| Fullwidth Dollar Sign | \FF04 | ||
| Fullwidth Left Parenthesis | \FF08 | ||
| Fullwidth Right Parenthesis | \FF09 | ||
| Fullwidth Plus Sign | \FF0B | ||
| Fullwidth Hyphen Minus | \FF0D | ||
| Fullwidth Solidus | \FF0F | ||
| Fullwidth Digit Zero | \FF10 | ||
| Fullwidth Digit One | \FF11 | ||
| Fullwidth Digit Two | \FF12 | ||
| Fullwidth Digit Three | \FF13 | ||
| Fullwidth Digit Four | \FF14 | ||
| Fullwidth Digit Five | \FF15 | ||
| Fullwidth Digit Six | \FF16 | ||
| Fullwidth Digit Seven | \FF17 | ||
| Fullwidth Digit Eight | \FF18 | ||
| Fullwidth Digit Nine | \FF19 | ||
| Fullwidth Less Than Sign | \FF1C | ||
| Fullwidth Equals Sign | \FF1D | ||
| Fullwidth Greater Than Sign | \FF1E | ||
| Fullwidth Left Curly Bracket | \FF5B | ||
| Fullwidth Right Curly Bracket | \FF5D | ||
| Fullwidth Cent Sign | \FFE0 | ||
| Fullwidth Pound Sign | \FFE1 | ||
| Fullwidth Yen Sign | \FFE5 | ||
| Fullwidth Won Sign | \FFE6 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Egyptian Hieroglyphs · U+13000–U+1342F | |||
| Egyptian Hieroglyph A066 | \1304B | ||
| Egyptian Hieroglyph B009 | \13059 | ||
| Freshwater Turtle | \13189 | ||
| Egyptian Hieroglyph M001 | \131AD | ||
| Egyptian Hieroglyph M002 | \131B0 | ||
| Egyptian Hieroglyph M003 | \131B1 | ||
| Egyptian Hieroglyph M009 | \131B8 | ||
| Egyptian Hieroglyph M010 | \131B9 | ||
| Egyptian Hieroglyph M012 | \131BC | ||
| Egyptian Hieroglyph M016a | \131CA | ||
| Egyptian Hieroglyph M017 | \131CB | ||
| Egyptian Hieroglyph M022 | \131D1 | ||
| Egyptian Hieroglyph M024a | \131D5 | ||
| Egyptian Hieroglyph M026 | \131D7 | ||
| Egyptian Hieroglyph M028a | \131DA | ||
| Egyptian Hieroglyph M029 | \131DB | ||
| Egyptian Hieroglyph M032 | \131DF | ||
| Egyptian Hieroglyph M034 | \131E3 | ||
| Egyptian Hieroglyph M042 | \131EC | ||
| Egyptian Hieroglyph R020 | \132C7 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Miscellaneous Symbols and Pictographs · U+1F300–U+1F5FF | |||
| Night With Stars | \1F303 | ||
| Glowing Star | \1F31F | ||
| Shooting Star | \1F320 | ||
| Bottle With Popping Cork | \1F37E | ||
| Beating Heart | \1F493 | ||
| Broken Heart | \1F494 | ||
| Two Hearts | \1F495 | ||
| Sparkling Heart | \1F496 | ||
| Growing Heart | \1F497 | ||
| Heart With Arrow | \1F498 | ||
| Blue Heart | \1F499 | ||
| Green Heart | \1F49A | ||
| Yellow Heart | \1F49B | ||
| Purple Heart | \1F49C | ||
| Heart With Ribbon | \1F49D | ||
| Revolving Hearts | \1F49E | ||
| Heart Decoration | \1F49F | ||
| Dizzy Symbol | \1F4AB | ||
| Hundred Points Symbol | \1F4AF | ||
| Six Pointed Star With Middle Dot | \1F52F | ||
| Black Heart | \1F5A4 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Transport and Map Symbols · U+1F680–U+1F6FF | |||
| Prohibited | \1F6AB | ||
| No Smoking | \1F6AD | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Supplemental Symbols and Pictographs · U+1F900–U+1F9FF | |||
| Orange Heart | \1F9E1 | ||
| Symbol | Name | CSS code | Copy |
|---|---|---|---|
| Multiple | |||
| Heart Symbol | \2764 \FE0F | ||
No symbols in this table match. Search every symbol or clear the filter.
How CSS codes work
A CSS escape is a backslash followed by the character’s code point in hexadecimal: \2192 is U+2192, the rightwards arrow. It lets you write a symbol in a stylesheet without depending on the file’s encoding.
An escape ends at the first character that is not a hexadecimal digit, or after six digits. If the next character is itself 0–9 or a–f, add a single space after the escape, which CSS consumes, or pad the code to six digits: \002192.
Using a CSS code with content
.next-link::after {
content: "\2192";
margin-inline-start: 0.25em;
}This adds → after every link with the class next-link. The symbol only appears if the element’s font, or a fallback font, has a glyph for it.
Accessibility
Screen readers usually announce generated content, so a decorative arrow may be read aloud as “rightwards arrow”. Where supported, give decorative content an empty alternative:
content: "\2192" / "";If the symbol carries meaning, keep that meaning in the HTML text as well, because generated content cannot be selected or copied by users.
Questions about CSS codes
Why is my CSS symbol not showing?
Check that the backslash is present, that the escape is inside quotes in the content property, and that the rule targets ::before or ::after. If a box appears instead, the font has no glyph for the character.
Is \2192 the same as \21 92?
No. The space ends the escape, so \21 92 is U+0021 (!) followed by “92”. Write the whole code point without spaces.
Can I use the same code in JavaScript?
No. JavaScript uses a different escape syntax: "\u2192" or "\u{2192}". Each symbol page lists the JavaScript form.
Can I paste the symbol into CSS instead?
Yes, if the stylesheet is saved as UTF-8 and served with that encoding. Escapes avoid encoding problems and make invisible characters visible in the source.