使用数字代码或英文代码需要在代码后面加一个英文的分号「;」
第二列转义符号为使用数字代码或英文代码后得的的符号
原符号 | 转义符号 | 数字代码 | 英文代码 | 解释 |
---|---|---|---|---|
制表符 | 	 | /t Horizontal tab | ||
换行 | 
 | /n Line feed | ||
回车 | 
 | /r Carriage Return | ||
空格 |   |   | ’ ‘ Space | |
! | ! | ! | 惊叹号Exclamation mark | |
” | " | " | " | 双引号Quotation mark |
# | # | # | 数字标志Number sign | |
$ | $ | $ | 美元标志Dollar sign | |
% | % | % | 百分号Percent sign | |
& | & | & | & | Ampersand |
‘ | ‘ | ' | 单引号Apostrophe | |
( | ( | ( | 小括号左边部分Left parenthesis | |
) | ) | ) | 小括号右边部分Right parenthesis | |
* | * | * | 星号Asterisk | |
+ | + | + | 加号Plus sign | |
, | , | , | 逗号Comma | |
- | - | - | 连字号Hyphen | |
. | . | . | 句号Period (fullstop) | |
/ | / | / | 斜杠Solidus (slash) | |
0 | 0 | 0 | 数字0 Digit 0 | |
1 | 1 | 1 | 数字1 Digit 1 | |
2 | 2 | 2 | 数字2 Digit 2 | |
3 | 3 | 3 | 数字3 Digit 3 | |
4 | 4 | 4 | 数字4 Digit 4 | |
5 | 5 | 5 | 数字5 Digit 5 | |
6 | 6 | 6 | 数字6 Digit 6 | |
7 | 7 | 7 | 数字7 Digit 7 | |
8 | 8 | 8 | 数字8 Digit 8 | |
9 | 9 | 9 | 数字9 Digit 9 | |
: | : | : | 冒号Colon | |
; | ; | ; | 分号Semicolon | |
< | < | < | < | 小于号Less than |
= | = | = | 等于符号Equals sign | |
> | > | > | > | 大于号Greater than |
? | ? | ? | 问号Question mark | |
@ | @ | @ | Commercial at | |
A | A | A | 大写A Capital A | |
B | B | B | 大写B Capital B | |
C | C | C | 大写C Capital C | |
D | D | D | 大写D Capital D | |
E | E | E | 大写E Capital E | |
F | F | F | 大写F Capital F | |
G | G | G | 大写G Capital G | |
H | H | H | 大写H Capital H | |
I | I | I | 大写J Capital I | |
J | J | J | 大写K Capital J | |
K | K | K | 大写L Capital K | |
L | L | L | 大写K Capital L | |
M | M | M | 大写M Capital M | |
N | N | N | 大写N Capital N | |
O | O | O | 大写O Capital O | |
P | P | P | 大写P Capital P | |
Q | Q | Q | 大写Q Capital Q | |
R | R | R | 大写R Capital R | |
S | S | S | 大写S Capital S | |
T | T | T | 大写T Capital T | |
U | U | U | 大写U Capital U | |
V | V | V | 大写V Capital V | |
W | W | W | 大写W Capital W | |
X | X | X | 大写X Capital X | |
Y | Y | Y | 大写Y Capital Y | |
Z | Z | Z | 大写Z Capital Z | |
[ | [ | [ | 中括号左边部分Left square bracket | |
\ | \ | \ | 反斜杠Reverse solidus (backslash) | |
] | ] | ] | 中括号右边部分Right square bracket | |
^ | ^ | ^ | 插入符号Caret | |
_ | _ | _ | 下划线Horizontal bar (underscore) | |
` | ` | ` | 尖重音符Acute accent | |
a | a | a | 小写a Small a | |
b | b | b | 小写b Small b | |
c | c | c | 小写c Small c | |
d | d | d | 小写d Small d | |
e | e | e | 小写e Small e | |
f | f | f | 小写f Small f | |
g | g | g | 小写g Small g | |
h | h | h | 小写h Small h | |
i | i | i | 小写i Small i | |
j | j | j | 小写j Small j | |
k | k | k | 小写k Small k | |
l | l | l | 小写l Small l | |
m | m | m | 小写m Small m | |
n | n | n | 小写n Small n | |
o | o | o | 小写o Small o | |
p | p | p | 小写p Small p | |
q | q | q | 小写q Small q | |
r | r | r | 小写r Small r | |
s | s | s | 小写s Small s | |
t | t | t | 小写t Small t | |
u | u | u | 小写u Small u | |
v | v | v | 小写v Small v | |
w | w | w | 小写w Small w | |
x | x | x | 小写x Small x | |
y | y | y | 小写y Small y | |
z | z | z | 小写z Small z | |
{ | { | { | 大括号左边部分Left curly brace | |
| | | | | | 竖线Vertical bar | |
} | } | } | 大括号右边部分Right curly brace | |
~ | ~ | ~ | Tilde | |
? | |  | 未使用Unused | |
空格 | ? |   |   | Nonbreaking space |
? | ? | ¡ | ¡ | Inverted exclamation |
¢ | ¢ | ¢ | ¢ | 货币分标志Cent sign |
£ | £ | £ | £ | 英镑标志Pound sterling |
¤ | ¤ | ¤ | ¤ | 通用货币标志General currency sign |
¥ | ¥ | ¥ | ¥ | 日元标志Yen sign |
| | | | ¦ | ¦ or &brkbar | 断竖线Broken vertical bar |
§ | § | § | § | 分节号Section sign |
¨ | ¨ | ¨ | ¨ or &die | 变音符号Umlaut |
? | ? | © | © | 版权标志Copyright |
a | a | ª | ª | Feminine ordinal |
? | ? | « | « | Left angle quote, guillemet left |
? | ? | ¬ | ¬ | Not sign 否号 |
- | ­ | ­ | Soft hyphen 软连字符 | |
? | ? | ® | ® | 注册商标标志Registered trademark |
ˉ | ˉ | ¯ | ¯ or &hibar | 长音符号Macron accent |
° | ° | ° | ° | 度数标志Degree sign |
± | ± | ± | ± | 加或减Plus or minus |
2 | 2 | ² | ² | 上标2 Superscrīpt two |
3 | 3 | ³ | ³ | 上标3 Superscrīpt three |
′ | ′ | ´ | ´ | 尖重音符Acute accent |
μ | μ | µ | µ | Micro sign |
? | ? | ¶ | ¶ | Paragraph sign |
· | · | · | · | Middle dot |
? | ? | ¸ | ¸ | Cedilla |
1 | 1 | ¹ | ¹ | 上标1 Superscrīpt one |
o | o | º | º | Masculine ordinal |
? | ? | » | » | Right angle quote, guillemet right |
? | ? | ¼ | ¼ | 四分之一Fraction one-fourth |
? | ? | ½ | ½ | 二分之一Fraction one-half |
? | ? | ¾ | ¾ | 四分之三Fraction three-fourths |
? | ? | ¿ | ¿ | 倒问号Inverted question mark |
à | à | À | À | Capital A, grave accent |
á | á | Á | Á | Capital A, acute accent |
? | ? | Â | Â | Capital A, circumflex |
? | ? | Ã | Ã | Capital A, tilde |
? | ? | Ä | Ä | Capital A, di?esis / umlaut |
? | ? | Å | Å | Capital A, ring |
? | ? | Æ | Æ | Capital AE ligature |
? | ? | Ç | Ç | Capital C, cedilla |
è | è | È | È | Capital E, grave accent |
é | é | É | É | Capital E, acute accent |
ê | ê | Ê | Ê | Capital E, circumflex |
? | ? | Ë | Ë | Capital E, di?esis / umlaut |
ì | ì | Ì | Ì | Capital I, grave accent |
í | í | Í | Í | Capital I, acute accent |
? | ? | Î | Î | Capital I, circumflex |
? | ? | Ï | Ï | Capital I, di?esis / umlaut |
D | D | Ð | Ð | Capital Eth, Icelandic |
? | ? | Ñ | Ñ | Capital N, tilde |
ò | ò | Ò | Ò | Capital O, grave accent |
ó | ó | Ó | Ó | Capital O, acute accent |
? | ? | Ô | Ô | Capital O, circumflex |
? | ? | Õ | Õ | Capital O, tilde |
? | ? | Ö | Ö | Capital O, di?esis / umlaut |
× | × | × | × | 乘号Multiply sign |
? | ? | Ø | Ø | Capital O, slash |
ù | ù | Ù | Ù | Capital U, grave accent |
ú | ú | Ú | Ú | Capital U, acute accent |
? | ? | Û | Û | Capital U, circumflex |
ü | ü | Ü | Ü | Capital U, di?esis / umlaut |
Y | Y | Ý | Ý | Capital Y, acute accent |
T | T | Þ | Þ | Capital Thorn, Icelandic |
? | ? | ß | ß | Small sharp s, German sz |
à | à | à | à | Small a, grave accent |
á | á | á | á | Small a, acute accent |
a | a | â | â | Small a, circumflex |
? | ? | ã | ã | Small a, tilde |
? | ? | ä | ä | Small a, di?esis / umlaut |
? | ? | å | å | Small a, ring |
? | ? | æ | æ | Small ae ligature |
? | ? | ç | ç | Small c, cedilla |
è | è | è | è | Small e, grave accent |
é | é | é | é | Small e, acute accent |
ê | ê | ê | ê | Small e, circumflex |
? | ? | ë | ë | Small e, di?esis / umlaut |
ì | ì | ì | ì | Small i, grave accent |
í | í | í | í | Small i, acute accent |
? | ? | î | î | Small i, circumflex |
? | ? | ï | ï | Small i, di?esis / umlaut |
e | e | ð | ð | Small eth, Icelandic |
? | ? | ñ | ñ | Small n, tilde |
ò | ò | ò | ò | Small o, grave accent |
ó | ó | ó | ó | Small o, acute accent |
? | ? | ô | ô | Small o, circumflex |
? | ? | õ | õ | Small o, tilde |
? | ? | ö | ö | Small o, di?esis / umlaut |
÷ | ÷ | ÷ | ÷ | 除号Division sign |
? | ? | ø | ø | Small o, slash |
ù | ù | ù | ù | Small u, grave accent |
ú | ú | ú | ú | Small u, acute accent |
? | ? | û | û | Small u, circumflex |
ü | ü | ü | ü | Small u, di?esis / umlaut |
y | y | ý | ý | Small y, acute accent |
t | t | þ | þ | Small thorn, Icelandic |
? | ? | ÿ | ÿ | Small y, umlaut |
? | ? | &fnof | ||
Α | Α | &Alpha | ||
Β | Β | &Beta | ||
Γ | Γ | &Gamma | ||
Δ | Δ | &Delta | ||
Ε | Ε | &Epsilon | ||
Ζ | Ζ | &Zeta | ||
Η | Η | &Eta | ||
Θ | Θ | &Theta | ||
Ι | Ι | &Iota | ||
Κ | Κ | &Kappa | ||
Λ | Λ | &Lambda | ||
Μ | Μ | &Mu | ||
Ν | Ν | &Nu | ||
Ξ | Ξ | &Xi | ||
Ο | Ο | &Omicron | ||
Π | Π | &Pi | ||
Ρ | Ρ | &Rho | ||
Σ | Σ | &Sigma | ||
Τ | Τ | &Tau | ||
Υ | Υ | &Upsilon | ||
Φ | Φ | &Phi | ||
Χ | Χ | &Chi | ||
Ψ | Ψ | &Psi | ||
Ω | Ω | &Omega | ||
α | α | &alpha | ||
β | β | &beta | ||
γ | γ | &gamma | ||
δ | δ | &delta | ||
ε | ε | &epsilon | ||
ζ | ζ | &zeta | ||
η | η | &eta | ||
θ | θ | &theta | ||
ι | ι | &iota | ||
κ | κ | &kappa | ||
λ | λ | &lambda | ||
μ | μ | &mu | ||
ν | ν | &nu | ||
ξ | ξ | &xi | ||
ο | ο | &omicron | ||
π | π | &pi | ||
ρ | ρ | &rho | ||
? | ? | &sigmaf | ||
σ | σ | &sigma | ||
τ | τ | &tau | ||
υ | υ | &upsilon | ||
φ | φ | &phi | ||
χ | χ | &chi | ||
ψ | ψ | &psi | ||
ω | ω | &omega | ||
? | ? | &thetasym | ||
? | ? | &upsih | ||
? | ? | &piv | ||
? | ? | &bull | ||
… | … | &hellip | ||
′ | ′ | &prime | ||
″ | ″ | &Prime | ||
 ̄ |  ̄ | &oline | ||
? | ? | &frasl | ||
? | ? | &weierp | ||
? | ? | &image | ||
? | ? | &real | ||
? | ? | &trade | ||
? | ? | &alefsym | ||
← | ← | &larr | ||
↑ | ↑ | &uarr | ||
→ | → | &rarr | ||
↓ | ↓ | &darr | ||
? | ? | &harr | ||
? | ? | &crarr | ||
? | ? | &lArr | ||
? | ? | &uArr | ||
? | ? | &rArr | ||
? | ? | &dArr | ||
? | ? | &hArr | ||
? | ? | &forall | ||
? | ? | &part | ||
? | ? | &exist | ||
? | ? | &empty | ||
? | ? | &nabla | ||
∈ | ∈ | &isin | ||
? | ? | ¬in | ||
? | ? | &ni | ||
∏ | ∏ | &prod | ||
∑ | ∑ | &sum | ||
? | ? | &minus | ||
? | ? | &lowast | ||
√ | √ | &radic | ||
∝ | ∝ | &prop | ||
∞ | ∞ | &infin | ||
∠ | ∠ | &ang | ||
∧ | ∧ | &and | ||
∨ | ∨ | &or | ||
∩ | ∩ | &cap | ||
∪ | ∪ | &cup | ||
∫ | ∫ | &int | ||
∴ | ∴ | &there4 | ||
~ | ~ | &sim | ||
? | ? | &cong | ||
≈ | ≈ | &asymp | ||
≠ | ≠ | &ne | ||
≡ | ≡ | &equiv | ||
≤ | ≤ | &le | ||
≥ | ≥ | &ge | ||
? | ? | &sub | ||
? | ? | &sup | ||
? | ? | &nsub | ||
? | ? | &sube | ||
? | ? | &supe | ||
⊕ | ⊕ | &oplus | ||
? | ? | &otimes | ||
⊥ | ⊥ | &perp | ||
? | ? | &sdot | ||
? | ? | &lceil | ||
? | ? | &rceil | ||
? | ? | &lfloor | ||
? | ? | &rfloor | ||
? | ? | &lang | ||
? | ? | &rang | ||
? | ? | &loz | ||
? | ? | &spades | ||
? | ? | &clubs | ||
? | ? | &hearts | ||
? | ? | &diams | ||
“ | " | " | ||
& | & | & | ||
< | < | < | ||
> | > | > | ||
? | ? | &OElig | ||
? | ? | &oelig | ||
? | ? | &Scaron | ||
? | ? | &scaron | ||
? | ? | &Yuml | ||
? | ? | &circ | ||
? | ? | &tilde | ||
? | &ensp | 半个空白位 | ||
? | &emsp | 一个空白位 | ||
? | &thinsp | 窄空格 | ||
? | ‌ | &zwnj | 零宽不连字 | |
? | ‍ | &zwj | 零宽连字 | |
? | &lrm | 隐式定向格式化字符Left-to-Right | ||
? | &rlm | 隐式定向格式化字符Right-to-Left | ||
– | – | &ndash | ||
— | — | &mdash | ||
‘ | ‘ | &lsquo | ||
’ | ’ | &rsquo | ||
? | ? | &sbquo | ||
“ | “ | &ldquo | ||
” | ” | &rdquo | ||
? | ? | &bdquo | ||
? | ? | &dagger | 剑号,用来标志一个死者的姓名 | |
? | ? | &Dagger | 双剑号 | |
‰ | ‰ | &permil | 千分之 | |
? | ? | &lsaquo | ||
? | ? | &rsaquo | ||
€ | € | &euro | 欧元 |
HTML字符实体,在HTML中,某些字符是预留的。比如不能使用小于号(<)和大于号(>),这是因为浏览器会误认为它们是标签。
我在chrome控制台Netwrok中发现返回的数据中带有“↵”可视化换行符的符号,我们该如何来匹配这个符号并且进行相关处理呢?尝试像这样替换它们:
symbol 是 JavaScript 和 TypeScript 中的原始数据类型,可用于对象属性。与 number 和 string 相比,symbol 具有一些独特的功能,使它脱颖而出。JavaScript 中的符号:可以用 Symbol() 工厂函数创建符号:
html中经常会用到一些特殊符号,例如箭头,雪花,心形等等,这些符号就不用css样式或者图片来写了,直接用html特殊符号可以实现。
内容以共享、参考、研究为目的,不存在任何商业目的。其版权属原作者所有,如有侵权或违规,请与小编联系!情况属实本人将予以删除!