HTML 常用转义字符

只要你认识了 HTML 标记,你便会知道特殊字符的用处。

HTML 原始码 显示结果 描述
&lt; < 小於号或显示标记
&gt; > 大於号或显示标记
&amp; & 可用於显示其它特殊字符
&quot; " 引号
&reg; ® 己注册
&copy; © 版权
&trade; 商标
&ensp;   半方大的空白
&emsp;   全方大的空白
&nbsp;   不断行的空白

 

  ISO Latin-1 特殊字符:  

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

 

 

备注:本文转载自:http://blog.csdn.net/panzhiqi/archive/2006/12/01/1424902.aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值