HTML ANSI参考
ANSI(Windows-1252)
在Windows直至Windows 95中,ANSI是默认字符集。
ANSI也称为Windows-1252。
重要的提示
ANSI和ISO-8859-1非常相似。它们仅相差32个字符。
在ANSI中,从128到159的字符用于一些有用的字符,例如欧元符号。
在ISO-8859-1中,这些字符映射为HTML中无用的控制字符。
许多Web开发人员都声明ISO-8859-1并使用这32个值,就像使用Windows-1252一样。
由于这种常见的误解,当声明ISO-8859-1时,浏览器将更改为Windows-1252。可以对任何DOCTYPE:HTML4,HTML5和XHTML完成此操作。
ANSI和ASCII
ANSI的第一部分(实体编号为0-127)是原始ASCII字符集。它包含数字,大写和小写英文字母以及一些特殊字符。
要仔细查看,请研究我们的《完整ASCII参考》。
ANSI字符集
字符
数
实体名称
描述
0-31控制字符(请参见下文)
32太空
!33感叹号
”34"引号
#35数字符号
$36美元符号
%37百分号
和38&&符
'39单引号
(40左括号
)41右括号
*42星号
+43加号
,44逗号
--45连字符减号
。46停止
/47solidus
048digit zero
149digit one
250digit two
351digit three
452digit four
553digit five
654digit six
755digit seven
856digit eight
957digit nine
:58colon
;59semicolon
<60
=61equals sign
>62>greater-than sign
?63question mark
@64commercial at
A65Latin capital letter A
B66Latin capital letter B
C67Latin capital letter C
D68Latin capital letter D
E69Latin capital letter E
F70Latin capital letter F
G71Latin capital letter G
H72Latin capital letter H
I73Latin capital letter I
J74Latin capital letter J
K75Latin capital letter K
L76Latin capital letter L
M77Latin capital letter M
N78Latin capital letter N
O79Latin capital letter O
P80Latin capital letter P
Q81Latin capital letter Q
R82Latin capital letter R
S83Latin capital letter S
T84Latin capital letter T
U85Latin capital letter U
V86Latin capital letter V
W87Latin capital letter W
X88Latin capital letter X
Y89Latin capital letter Y
Z90Latin capital letter Z
[91left square bracket
\92reverse solidus
]93right square bracket
^94circumflex accent
_95low line
`96grave accent
a97Latin small letter a
b98Latin small letter b
c99Latin small letter c
d100Latin small letter d
e101Latin small letter e
f102Latin small letter f
g103Latin small letter g
h104Latin small letter h
i105Latin small letter i
j106Latin small letter j
k107Latin small letter k
l108Latin small letter l
m109Latin small letter m
n110Latin small letter n
o111Latin small letter o
p112Latin small letter p
q113Latin small letter q
r114Latin small letter r
s115Latin small letter s
t116Latin small letter t
u117Latin small letter u
v118Latin small letter v
w119Latin small letter w
x120Latin small letter x
y121Latin small letter y
z122Latin small letter z
{123left curly bracket
|124vertical line
}125right curly bracket
~126tilde
127Control character (Se below)
€128€euro sign
129NOT USED
‚130‚single low-9 quotation mark
ƒ131ƒLatin small letter f with hook
„132„double low-9 quotation mark
…133…horizontal ellipsis
†134†dagger
‡135‡double dagger
ˆ136ˆmodifier letter circumflex accent
‰137‰per mille sign
Š138ŠLatin capital letter S with caron
‹139‹single left-pointing angle quotation mark
Œ140ŒLatin capital ligature OE
141NOT USED
Ž142ŽLatin capital letter Z with caron
143NOT USED
144NOT USED
‘145‘left single quotation mark
’146’right single quotation mark
“147“left double quotation mark
”148”right double quotation mark
•149•bullet
–150–en dash
—151—em dash
˜152˜small tilde
™153™trade mark sign
š154šLatin small letter s with caron
›155›single right-pointing angle quotation mark
œ156œLatin small ligature oe
157NOT USED
ž158žLatin small letter z with caron
Ÿ159ŸLatin capital letter Y with diaeresis
160no-break space
¡161¡inverted exclamation mark
¢162¢cent sign
£163£pound sign
¤164¤currency sign
¥165¥yen sign
¦166¦broken bar
§167§section sign
¨168¨diaeresis
©169©copyright sign
ª170ªfeminine ordinal indicator
«171«left-pointing double angle quotation mark
¬172¬not sign
�173soft hyphen
®174®registered sign
¯175¯macron
°176°degree sign
±177±plus-minus sign
²178²superscript two
³179³superscript three
´180´acute accent
µ181µmicro sign
¶182¶pilcrow sign
·183·middle dot
¸184¸cedilla
¹185¹superscript one
º186ºmasculine ordinal indicator
»187»right-pointing double angle quotation mark
¼188¼vulgar fraction one quarter
½189½vulgar fraction one half
¾190¾vulgar fraction three quarters
¿191¿inverted question mark
À192ÀLatin capital letter A with grave
Á193ÁLatin capital letter A with acute
Â194ÂLatin capital letter A with circumflex
Ã195ÃLatin capital letter A with tilde
Ä196ÄLatin capital letter A with diaeresis
Å197ÅLatin capital letter A with ring above
Æ198ÆLatin capital letter AE
Ç199ÇLatin capital letter C with cedilla
È200ÈLatin capital letter E with grave
É201ÉLatin capital letter E with acute
Ê202ÊLatin capital letter E with circumflex
Ë203ËLatin capital letter E with diaeresis
Ì204ÌLatin capital letter I with grave
Í205ÍLatin capital letter I with acute
Î206ÎLatin capital letter I with circumflex
Ï207ÏLatin capital letter I with diaeresis
Ð208ÐLatin capital letter Eth
Ñ209ÑLatin capital letter N with tilde
Ò210ÒLatin capital letter O with grave
Ó211ÓLatin capital letter O with acute
Ô212ÔLatin capital letter O with circumflex
Õ213ÕLatin capital letter O with tilde
Ö214ÖLatin capital letter O with diaeresis
×215×multiplication sign
Ø216ØLatin capital letter O with stroke
Ù217ÙLatin capital letter U with grave
Ú218ÚLatin capital letter U with acute
Û219ÛLatin capital letter U with circumflex
Ü220ÜLatin capital letter U with diaeresis
Ý221ÝLatin capital letter Y with acute
Þ222ÞLatin capital letter Thorn
ß223ßLatin small letter sharp s
à224àLatin small letter a with grave
á225áLatin small letter a with acute
â226âLatin small letter a with circumflex
ã227ãLatin small letter a with tilde
ä228äLatin small letter a with diaeresis
å229åLatin small letter a with ring above
æ230æLatin small letter ae
ç231çLatin small letter c with cedilla
è232èLatin small letter e with grave
é233éLatin small letter e with acute
ê234êLatin small letter e with circumflex
ë235ëLatin small letter e with diaeresis
ì236ìLatin small letter i with grave
í237íLatin small letter i with acute
î238îLatin small letter i with circumflex
ï239ïLatin small letter i with diaeresis
ð240ðLatin small letter eth
ñ241ñLatin small letter n with tilde
ò242òLatin small letter o with grave
ó243óLatin small letter o with acute
ô244ôLatin small letter o with circumflex
õ245õLatin small letter o with tilde
ö246öLatin small letter o with diaeresis
÷247÷division sign
ø248øLatin small letter o with stroke
ù249ùLatin small letter u with grave
ú250úLatin small letter u with acute
û251ûLatin small letter with circumflex
ü252üLatin small letter u with diaeresis
ý253ýLatin small letter y with acute
þ254þ拉丁小写字母刺
ÿ255&yuml;拉丁字母y与diaeresis
ANSI控制字符
ANSI控制字符(范围为00-31,外加127)旨在控制硬件设备。
控制字符(水平制表符,换行符和回车符除外)与HTML文档无关。
Char
Number
Description
NUL
00
null character
SOH
01
start of header
STX
02
start of text
ETX
03
end of text
EOT
04
end of transmission
ENQ
05
enquiry
ACK
06
acknowledge
BEL
07
bell (ring)
BS
08
backspace
HT
09
horizontal tab
LF
10
line feed
VT
11
vertical tab
FF
12
form feed
CR
13
carriage return
SO
14
shift out
SI
15
shift in
DLE
16
data link escape
DC1
17
device control 1
DC2
18
device control 2
DC3
19
device control 3
DC4
20
device control 4
NAK
21
negative acknowledge
SYN
22
synchronize
ETB
23
end transmission block
CAN
24
cancel
EM
25
end of medium
SUB
26
substitute
ESC
27
escape
FS
28
file separator
GS
29
group separator
RS
30
record separator
US
31
unit separator
DEL
127
delete (rubout)