最新最全的HTML实体字符【整理汇总】

2022-08-04站长百科222104

本文给大家整理了最全的HTML实体字符!

HTML字符实体

做开发的小伙伴们都知道,HTML有一些预留字符,浏览器在解析时不能正确的显示,这个时候我们就需要使用字符实体进行替换。同时,有一些键盘上找不见的符号我们也可使使用字符实体进行替换,下面是我整理的几类我们经常遇到的字符。

1.常见的HTML预留字符

字符 实体编号 实体名称 描述
空格    
< 小于号 &lt; <
> 大于号 &gt; >
& 和号 &amp; &
" 引号 &quot; "
撇号 &apos; (IE不支持) '
&cent; ¢
£ &pound; £
¥ 人民币/日元 &yen; ¥
欧元 &euro;
§ 小节 &sect; §
© 版权 &copy; ©
® 注册商标 &reg; ®
商标 &trade;
× 乘号 &times; ×
÷ 除号 &divide; ÷

2.常用的音标符号

音标符 字符 构成 输出结果
̀ a
́ a
̂ a
̃ a
̀ O
́ O
̂ O
̃ O

3.完整的HTML预留字符

字符 实体编号 实体名称 描述
  &nbsp; 非间断空格(non-breaking space)
¡ ¡ &iexcl; 倒置感叹号(inverted exclamation mark)
¢ ¢ &cent; 美分符号(cent)
£ £ &pound; 英镑符号(pound)
¤ ¤ &curren; 货币符号(currency)
¥ ¥ &yen; 人民币/日元符号(yen)
¦ ¦ &brvbar; 间断的竖杠(broken vertical bar)
§ § &sect; 小节号(section)
¨ ¨ &uml; 分音符号(spacing diaeresis)
© © &copy; 版权所有(copyright)
ª ª &ordf; 阴性序数记号(feminine ordinal indicator)
« « &laquo; 左双角引号(angle quotation mark (left))
¬ ¬ &not; 否定符号(negation)
­ ­ &shy; 软连字符(soft hyphen)
® ® &reg; 注册商标(registered trademark)
¯ ¯ &macr; 长音符号(spacing macron)
° ° &deg; 度符号(degree)
± ± &plusmn; 加减号/正负号(plus-or-minus)
² ² &sup2; 上标 2(superscript 2)
³ ³ &sup3; 上标 3(superscript 3)
´ ´ &acute; 尖音符号(spacing acute)
µ µ &micro; 微米符号(micro)
&para; 段落符号(paragraph)
· · &middot; 中间点(middle dot)
¸ ¸ &cedil; 变音符号(spacing cedilla)
¹ ¹ &sup1; 上标 1(superscript 1)
º º &ordm; 阳性序数记号(masculine ordinal indicator)
» » &raquo; 右双角引号(angle quotation mark (right))
¼ ¼ &frac14; 1/4 分数(fraction 1/4)
½ ½ &frac12; 1/2 分数(fraction 1/2)
¾ ¾ &frac34; 3/4 分数(fraction 3/4)
¿ ¿ &iquest; 倒置问号(inverted question mark)

4.HTML数字字符实体

字符 实体编号 实体名称 描述
&forall; for all
&part; part
&exist; exists
&empty; empty
&nabla; nabla
&isin; isin
&notin; notin
&ni; ni
&prod; prod
&sum; sum
&minus; minus
&lowast; lowast
&radic; square root
&prop; proportional to
&infin; infinity
&ang; angle
&and; and
&or; or
&cap; cap
&cup; cup
&int; integral
&there4; therefore
&sim; similar to
&cong; congruent to
&asymp; almost equal
&ne; not equal
&equiv; equivalent
&le; less or equal
&ge; greater or equal
&sub; subset of
&sup; superset of
&nsub; not subset of
&sube; subset or equal
&supe; superset or equal
&oplus; circled plus
&otimes; circled times
&perp; perpendicular
&sdot; dot operator

5.英语教学中常用的字符实体

字符 实体编号 实体名称 描述
À À &Agrave; 大写字母 A,重音(grave accent)
Á Á &Aacute; 大写字母 A,尖音(acute accent)
  &Acirc; 大写字母 A,抑扬音(circumflex accent)
à à &Atilde; 大写字母 A,腭化(tilde)
Ä Ä &Auml; 大写字母 A,带有变音符号标记(umlaut mark)
Å Å &Aring; 大写字母 A,带有上圆圈(ring)
Æ Æ &AElig; 大写字母 AE
Ç Ç &Ccedil; 大写字母 C,变音(cedilla)
È È &Egrave; 大写字母 E,重音(grave accent)
É É &Eacute; 大写字母 E,尖音(acute accent)
Ê Ê &Ecirc; 大写字母 E,抑扬音(circumflex accent)
Ë Ë &Euml; 大写字母 E,带有变音符号标记(umlaut mark)
Ì Ì &Igrave; 大写字母 I,重音(grave accent)
Í Í &Iacute; 大写字母 I,尖音(acute accent)
Î Î &Icirc; 大写字母 I,抑扬音(circumflex accent)
Ï Ï &Iuml; 大写字母 I,带有变音符号标记(umlaut mark)
Ð Ð &ETH; 冰岛语大写字母 eth
Ñ Ñ &Ntilde; 大写字母 N,腭化(tilde)
Ò Ò &Ograve; 大写字母 O,重音(grave accent)
Ó Ó &Oacute; 大写字母 O,尖音(acute accent)
Ô Ô &Ocirc; 大写字母 O,抑扬音(circumflex accent)
Õ Õ &Otilde; 大写字母 O,腭化(tilde)
Ö Ö &Ouml; 大写字母 O,带有变音符号标记(umlaut mark)
× × &times; 乘号(multiplication)
Ø Ø &Oslash; 大写字母 O,带有斜线(slash)
Ù Ù &Ugrave; 大写字母 U,重音(grave accent)
Ú Ú &Uacute; 大写字母 U,尖音(acute accent)
Û Û &Ucirc; 大写字母 U,抑扬音(circumflex accent)
Ü Ü &Uuml; 大写字母 U,带有变音符号标记(umlaut mark)
Ý Ý &Yacute; 大写字母 Y,尖音(acute accent)
Þ Þ &THORN; 冰岛语大写字母 THORN
ß ß &szlig; 德语小写字母 sharp s
à à &agrave; 小写字母 a,重音(grave accent)
á á &aacute; 小写字母 a,尖音(acute accent)
â â &acirc; 小写字母 a,抑扬音(circumflex accent)
ã ã &atilde; 小写字母 a,腭化(tilde)
ä ä &auml; 小写字母 a,带有变音符号标记(umlaut mark)
å å &aring; 小写字母 a,带有上圆圈(ring)
æ æ &aelig; 小写字母 ae
ç ç &ccedil; 小写字母 c,变音(cedilla)
è è &egrave; 小写字母 e,重音(grave accent)
é é &eacute; 小写字母 e,尖音(acute accent)
ê ê &ecirc; 小写字母 e,抑扬音(circumflex accent)
ë ë &euml; 小写字母 e,带有变音符号标记(umlaut mark)
ì ì &igrave; 小写字母 i,重音(grave accent)
í í &iacute; 小写字母 i,尖音(acute accent)
î î &icirc; 小写字母 i,抑扬音(circumflex accent)
ï ï &iuml; 小写字母 i,带有变音符号标记(umlaut mark)
ð ð &eth; 冰岛语小写字母 eth
ñ ñ &ntilde; 小写字母 n,腭化(tilde)
ò ò &ograve; 小写字母 o,重音(grave accent)
ó ó &oacute; 小写字母 o,尖音(acute accent)
ô ô &ocirc; 小写字母 o,抑扬音(circumflex accent)
õ õ &otilde; 小写字母 o,腭化(tilde)
ö ö &ouml; 小写字母 o,带有变音符号标记(umlaut mark)
÷ ÷ &divide; 除号(division)
ø ø &oslash; 小写字母 o,带有斜线(slash)
ù ù &ugrave; 小写字母 u,重音(grave accent)
ú ú &uacute; 小写字母 u,尖音(acute accent)
û û &ucirc; 小写字母 u,抑扬音(circumflex accent)
ü ü &uuml; 小写字母 u,带有变音符号标记(umlaut mark)
ý ý &yacute; 小写字母 y,尖音(acute accent)
þ þ &thorn; 冰岛语小写字母 thorn
ÿ ÿ &yuml; 小写字母 y,带有变音符号标记(umlaut mark)

史上最全HTML实体字符整理

以上就是最新最全的HTML实体字符【整理汇总】的详细内容,更多请关注北冥有鱼其它相关文章!

本文转载自【PHP中文网】,希望能给您带来帮助,苟日新、日日新、又日新,生命不息,学习不止。

本文地址:https://www.ufcn.cn/article/613069.html

如非特殊说明,本站内容均来自于网友自主分享,概不代表本站观点,如有任何问题我们都将在收到反馈后的第一时间进行处理!