HTML特殊符号对照表、常用的字符实体、ASCII码

HTML 和 XHTML 用标准的 7 比特 ASCII 代码在网络上传输数据。

7 比特 ASCII 代码可提供 128 个不同的字符值。

7 比特 可显示的 ASCII 代码

结果 描述 实体编号
  space  
! exclamation mark !
" quotation mark "
# number sign #
$ dollar sign $
% percent sign %
& ampersand &
' apostrophe '
( left parenthesis (
) right parenthesis )
* asterisk *
+ plus sign +
, comma ,
- hyphen -
. period .
/ slash /
0 digit 0 0
1 digit 1 1
2 digit 2 2
3 digit 3 3
4 digit 4 4
5 digit 5 5
6 digit 6 6
7 digit 7 7
8 digit 8 8
9 digit 9 9
: colon :
; semicolon &#59;
< less-than &#60;
= equals-to &#61;
> greater-than &#62;
? question mark &#63;
@ at sign &#64;
A uppercase A &#65;
B uppercase B &#66;
C uppercase C &#67;
D uppercase D &#68;
E uppercase E &#69;
F uppercase F &#70;
G uppercase G &#71;
H uppercase H &#72;
I uppercase I &#73;
J uppercase J &#74;
K uppercase K &#75;
L uppercase L &#76;
M uppercase M &#77;
N uppercase N &#78;
O uppercase O &#79;
P uppercase P &#80;
Q uppercase Q &#81;
R uppercase R &#82;
S uppercase S &#83;
T uppercase T &#84;
U uppercase U &#85;
V uppercase V &#86;
W uppercase W &#87;
X uppercase X &#88;
Y uppercase Y &#89;
Z uppercase Z &#90;
[ left square bracket &#91;
\ backslash &#92;
] right square bracket &#93;
^ caret &#94;
_ underscore &#95;
` grave accent &#96;
a lowercase a &#97;
b lowercase b &#98;
c lowercase c &#99;
d lowercase d &#100;
e lowercase e &#101;
f lowercase f &#102;
g lowercase g &#103;
h lowercase h &#104;
i lowercase i &#105;
j lowercase j &#106;
k lowercase k &#107;
l lowercase l &#108;
m lowercase m &#109;
n lowercase n &#110;
o lowercase o &#111;
p lowercase p &#112;
q lowercase q &#113;
r lowercase r &#114;
s lowercase s &#115;
t lowercase t &#116;
u lowercase u &#117;
v lowercase v &#118;
w lowercase w &#119;
x lowercase x &#120;
y lowercase y &#121;
z lowercase z &#122;
{ left curly brace &#123;
| vertical bar &#124;
} right curly brace &#125;
~ tilde &#126;

7 比特 设备控制 ASCII代码

ASCII设备控制代码最初被设计为用来控制诸如打印机和磁带驱动器之类的硬件设备。在HTML文档中这些代码不会起任何作用。

结果 描述 实体编号
NUL null character &#00;
SOH start of header &#01;
STX start of text &#02;
ETX end of text &#03;
EOT end of transmission &#04;
ENQ enquiry &#05;
ACK acknowledge &#06;
BEL bell (ring) &#07;
BS backspace &#08;
HT horizontal tab &#09;
LF line feed &#10;
VT vertical tab &#11;
FF form feed &#12;
CR carriage return &#13;
SO shift out &#14;
SI shift in &#15;
DLE data link escape &#16;
DC1 device control 1 &#17;
DC2 device control 2 &#18;
DC3 device control 3 &#19;
DC4 device control 4 &#20;
NAK negative acknowledge &#21;
SYN synchronize &#22;
ETB end transmission block &#23;
CAN cancel &#24;
EM end of medium &#25;
SUB substitute &#26;
ESC escape &#27;
FS file separator &#28;
GS group separator &#29;
RS record separator &#30;
US unit separator &#31;
DEL delete (rubout) &#127;



最常用的字符实体

显示结果 描述 实体名称 实体编号
  空格 &nbsp; &#160;
< 小于号 &lt; &#60;
> 大于号 &gt; &#62;
& 和号 &amp; &#38;
" 引号 &quot; &#34;
' 撇号  &apos; (IE不支持) &#39;

其他一些常用的字符实体

显示结果 描述 实体名称 实体编号
&cent; &#162;
£ &pound; &#163;
¥ 日圆 &yen; &#165;
§ &sect; &#167;
© 版权 &copy; &#169;
® 注册商标 &reg; &#174;
× 乘号 &times; &#215;
÷ 除号 &divide; &#247;

特殊符号
命名实体
十进制编码
特殊符号
命名实体
十进制编码
Α
&Alpha;
&#913;
Β
&Beta;
&#914;
Γ
&Gamma;
&#915;
Δ
&Delta;
&#916;
Ε
&Epsilon;
&#917;
Ζ
&Zeta;
&#918;
Η
&Eta;
&#919;
Θ
&Theta;
&#920;
Ι
&Iota;
&#921;
Κ
&Kappa;
&#922;
Λ
&Lambda;
&#923;
Μ
&Mu;
&#924;
Ν
&Nu;
&#925;
Ξ
&Xi;
&#926;
Ο
&Omicron;
&#927;
Π
&Pi;
&#928;
Ρ
&Rho;
&#929;
Σ
&Sigma;
&#931;
Τ
&Tau;
&#932;
Υ
&Upsilon;
&#933;
Φ
&Phi;
&#934;
Χ
&Chi;
&#935;
Ψ
&Psi;
&#936;
Ω
&Omega;
&#937;
α
&alpha;
&#945;
β
&beta;
&#946;
γ
&gamma;
&#947;
δ
&delta;
&#948;
ε
&epsilon;
&#949;
ζ
&zeta;
&#950;
η
&eta;
&#951;
θ
&theta;
&#952;
ι
&iota;
&#953;
κ
&kappa;
&#954;
λ
&lambda;
&#955;
μ
&mu;
&#956;
ν
&nu;
&#957;
ξ
&xi;
&#958;
ο
&omicron;
&#959;
π
&pi;
&#960;
ρ
&rho;
&#961;
ς
&sigmaf;
&#962;
σ
&sigma;
&#963;
τ
&tau;
&#964;
υ
&upsilon;
&#965;
φ
&phi;
&#966;
χ
&chi;
&#967;
ψ
&psi;
&#968;
ω
&omega;
&#969;
ϑ
&thetasym;
&#977;
ϒ
&upsih;
&#978;
ϖ
&piv;
&#982;
&bull;
&#8226;
&hellip;
&#8230;
&prime;
&#8242;
&Prime;
&#8243;
&oline;
&#8254;
&frasl;
&#8260;
&weierp;
&#8472;
&image;
&#8465;
&real;
&#8476;
&trade;
&#8482;
&alefsym;
&#8501;
&larr;
&#8592;
&uarr;
&#8593;
&rarr;
&#8594;
&darr;
&#8595;
&harr;
&#8596;
&crarr;
&#8629;
&lArr;
&#8656;
&uArr;
&#8657;
&rArr;
&#8658;
&dArr;
&#8659;
&hArr;
&#8660;
&forall;
&#8704;
&part;
&#8706;
&exist;
&#8707;
&empty;
&#8709;
&nabla;
&#8711;
&isin;
&#8712;
&notin;
&#8713;
&ni;
&#8715;
&prod;
&#8719;
&sum;
&#8722;
&minus;
&#8722;
&lowast;
&#8727;
&radic;
&#8730;
&prop;
&#8733;
&infin;
&#8734;
&ang;
&#8736;
&and;
&#8869;
&or;
&#8870;
&cap;
&#8745;
&cup;
&#8746;
&int;
&#8747;
&there4;
&#8756;
&sim;
&#8764;
&cong;
&#8773;
&asymp;
&#8773;
&ne;
&#8800;
&equiv;
&#8801;
&le;
&#8804;
&ge;
&#8805;
&sub;
&#8834;
&sup;
&#8835;
&nsub;
&#8836;
&sube;
&#8838;
&supe;
&#8839;
&oplus;
&#8853;
&otimes;
&#8855;
&perp;
&#8869;
&sdot;
&#8901;
&lceil;
&#8968;
&rceil;
&#8969;
&lfloor;
&#8970;
&rfloor;
&#8971;
&loz;
&#9674;
&spades;
&#9824;
&clubs;
&#9827;
&hearts;
&#9829;
&diams;
&#9830;
&nbsp;
&#160;
¡
&iexcl;
&#161;
¢
&cent;
&#162;
£
&pound;
&#163;
¤
&curren;
&#164;
¥
&yen;
&#165;
¦
&brvbar;
&#166;
§
&sect;
&#167;
¨
&uml;
&#168;
©
&copy;
&#169;
ª
&ordf;
&#170;
«
&laquo;
&#171;
¬
&not;
&#172;
&shy;
&#173;
®
&reg;
&#174;
¯
&macr;
&#175;
°
&deg;
d&#176;
±
&plusmn;
&#177;
²
&sup2;
&#178;
³
&sup3;
&#179;
´
&acute;
&#180;
µ
&micro;
&#181;
 




阅读更多

没有更多推荐了,返回首页