IT Notes‎ > ‎Web Front Dev‎ > ‎HTML‎ > ‎

HTML 实体符号

HTML 一般常用的实体符号就这几个:
  1. 大于号 > >
  2. 小于号 < &lt;
  3. 空格  &nbsp;
  4. & 符号 & &amp;
  5. TM 符号 ™ &#8482; (这个符号还没找到原始资源)

本文的内容来源是:http://www.w3.org/MarkUp/html3/latin1.html,这个页面上列出非常多的实体字符,但可惜的是没有提供具体符号的显示,只有代码,用起来不甚方便,故在这里整理一下,把代码所代表的字符显示出来,以便参考。还有更多符号,可以通过下面的页面查找到:http://www.ascii.cl/htmlcodes.htm,因为这个页面已经写出了具体符号,这里就不再列出了。

ISO Latin 1 Character Entities

Symbol Name Syntax Description
Á Aacute &Aacute; Capital A, acute accent
À Agrave &Agrave; Capital A, grave accent
 Acirc &Acirc; Capital A, circumflex accent
à Atilde &Atilde; Capital A, tilde
Å Aring &Aring; Capital A, ring
Ä Auml &Auml; Capital A, dieresis or umlaut mark
Æ AElig &AElig; Capital AE dipthong (ligature)
Ç Ccedil &Ccedil; Capital C, cedilla
É Eacute &Eacute; Capital E, acute accent
È Egrave &Egrave; Capital E, grave accent
Ê Ecirc &Ecirc; Capital E, circumflex accent
Ë Euml &Euml; Capital E, dieresis or umlaut mark
Í Iacute &Iacute; Capital I, acute accent
Ì Igrave &Igrave; Capital I, grave accent
Î Icirc &Icirc; Capital I, circumflex accent
Ï Iuml &Iuml; Capital I, dieresis or umlaut mark
Ð ETH &ETH; Capital Eth, Icelandic
Ñ Ntilde &Ntilde; Capital N, tilde
Ó Oacute &Oacute; Capital O, acute accent
Ò Ograve &Ograve; Capital O, grave accent
Ô Ocirc &Ocirc; Capital O, circumflex accent
Õ Otilde &Otilde; Capital O, tilde
Ö Ouml &Ouml; Capital O, dieresis or umlaut mark
Ø Oslash &Oslash; Capital O, slash
Ú Uacute &Uacute; Capital U, acute accent
Ù Ugrave &Ugrave; Capital U, grave accent
Û Ucirc &Ucirc; Capital U, circumflex accent
Ü Uuml &Uuml; Capital U, dieresis or umlaut mark
Ý Yacute &Yacute; Capital Y, acute accent
Þ THORN &THORN; Capital THORN, Icelandic
ß szlig &szlig; Small sharp s, German (sz ligature)
á aacute &aacute; Small a, acute accent
à agrave &agrave; Small a, grave accent
â acirc &acirc; Small a, circumflex accent
ã atilde &atilde; Small a, tilde
ã atilde &atilde; Small a, tilde
ä auml &auml; Small a, dieresis or umlaut mark
æ aelig &aelig; Small ae dipthong (ligature)
ç ccedil &ccedil; Small c, cedilla
é eacute &eacute; Small e, acute accent
è egrave &egrave; Small e, grave accent
ê ecirc &ecirc; Small e, circumflex accent
ë euml &euml; Small e, dieresis or umlaut mark
í iacute &iacute; Small i, acute accent
ì igrave &igrave; Small i, grave accent
î icirc &icirc; Small i, circumflex accent
ï iuml &iuml; Small i, dieresis or umlaut mark
ð eth &eth; Small eth, Icelandic
ñ ntilde &ntilde; Small n, tilde
ó oacute &oacute; Small o, acute accent
ò ograve &ograve; Small o, grave accent
ô ocirc &ocirc; Small o, circumflex accent
õ otilde &otilde; Small o, tilde
ö ouml &ouml; Small o, dieresis or umlaut mark
ø oslash &oslash; Small o, slash
ú uacute &uacute; Small u, acute accent
ù ugrave &ugrave; Small u, grave accent
û ucirc &ucirc; Small u, circumflex accent
ü uuml &uuml; Small u, dieresis or umlaut mark
ý yacute &yacute; Small y, acute accent
þ thorn &thorn; Small thorn, Icelandic
ÿ yuml &yuml; Small y, dieresis or umlaut mark

Numberical Character Reference

注意,这部分符号在使用时,要用 &#nnn 的形式,如 &#38; 这种。
Symbol Reference Description

&#00;-&#08; Unused

&#09; Horizontal tab

&#10; Line feed

&#11;-&#31; Unused

&32; Space
! &33; Exclamation mark
" &34; Quotation mark
# &35; Number sign
$ &36; Dollar sign
% &37; Percent sign
& &38; Ampersand
' &39; Apostrophe
( &40; Left parenthesis
) &41; Right parenthesis
* &42; Asterisk
+ &43; Plus sign
, &44; Comma
- &45; Hyphen
. &46; Period (fullstop)
/ &47; Solidus (slash)
0 - 9 &#48; - &#57; Digits 0-9



: &58; Colon
; &59; Semi-colon
< &60; Less than
= &61; Equals aign
> &62; Greater than
? &63; Question mark
@ &64; Commercial at
A-Z &#65;-&#90; Letters A-Z



[ &91; Left square bracket
\ &92; Reverse solidus (backslash)
] &93; Right square bracket
_ &95; Horizontal bar
` &96; Acute accent
a-z &#97;-&#122; Letters a-z



{ &123; Left curly brace
| &124; Vertical bar
} &125; Right curly brace
~ &126; Tilde
-   &#127;- &#160; Unused
¡ &161; Inverted exclamation
¢ &162; Cent sign
£ &163; Pound sterling
¤ &164; General currency sign
¥ &165; Yen sign
¦ &166; Broken vertical bar
§ &167; Section sign
¨ &168; Umlaut (dieresis)
© &169; Copyright
ª &170; Feminine ordinal
« &171; Left angle quote, guillemotleft
¬ &172; Not sign
­ &173; Soft hyphen
® &174; Registered trademark
¯ &175; Macron accent
° &176; Degree sign
± &177; Plus or minus
² &178; Superscript two
³ &179; Superscript three
´ &180; Acute accent
µ &181; Micro sign
&182; Paragraph sign
· &183; Middle dot
¸ &184; Cedilla
¹ &185; Superscript one
º &186; Masculine ordinal
» &187; Right angle quote, guillemotright
¼ &188; Fraction one-fourth
½ &189; Fraction one-half
¾ &190; Fraction three-fourths
¿ &191; Inverted question mark
À &192; Capital A, acute accent
Á &193; Capital A, grave accent
 &194; Capital A, circumflex accent
à &195; Capital A, tilde
Ä &196; Capital A, ring
Å &197; Capital A, dieresis or umlaut mark
Æ &198; Capital AE dipthong (ligature)
Ç &199; Capital C, cedilla
È &200; Capital E, acute accent
É &201; Capital E, grave accent
Ê &202; Capital E, circumflex accent
Ë &203; Capital E, dieresis or umlaut mark
Ì &204; Capital I, acute accent
Í &205; Capital I, grave accent
Î &206; Capital I, circumflex accent
Ï &207; Capital I, dieresis or umlaut mark
Ð &208; Capital Eth, Icelandic
Ñ &209; Capital N, tilde
Ò &210; Capital O, acute accent
Ó &211; Capital O, grave accent
Ô &212; Capital O, circumflex accent
Õ &213; Capital O, tilde
Ö &214; Capital O, dieresis or umlaut mark
× &215; Multiply sign
Ø &216; Capital O, slash
Ù &217; Capital U, acute accent
Ú &218; Capital U, grave accent
Û &219; Capital U, circumflex accent
Ü &220; Capital U, dieresis or umlaut mark
Ý &221; Capital Y, acute accent
Þ &222; Capital THORN, Icelandic
ß &223; Small sharp s, German (sz ligature)
à &224; Small a, acute accent
á &225; Small a, grave accent
â &226; Small a, circumflex accent
ã &227; Small a, tilde
ä &228; Small a, tilde
å &229; Small a, dieresis or umlaut mark
æ &230; Small ae dipthong (ligature)
ç &231; Small c, cedilla
è &232; Small e, acute accent
é &233; Small e, grave accent
ê &234; Small e, circumflex accent
ë &235; Small e, dieresis or umlaut mark
ì &236; Small i, acute accent
í &237; Small i, grave accent
î &238; Small i, circumflex accent
ï &239; Small i, dieresis or umlaut mark
ð &240; Small eth, Icelandic
ñ &241; Small n, tilde
ò &242; Small o, acute accent
ó &243; Small o, grave accent
ô &244; Small o, circumflex accent
õ &245; Small o, tilde
ö &246; Small o, dieresis or umlaut mark
÷ &247; Division sign
ø &248; Small o, slash
ù &249; Small u, acute accent
ú &250; Small u, grave accent
û &251; Small u, circumflex accent
ü &252; Small u, dieresis or umlaut mark
ý &253; Small y, acute accent
þ &254; Small thorn, Icelandic
ÿ &255; Small y, dieresis or umlaut mark

Comments