• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

html中的特殊字符

发布: 2007-6-30 18:56 | 作者: admin | 来源: | 查看: 42次 | 进入软件测试论坛讨论

领测软件测试网 html中的特殊字符

下表给出了插入特殊字符到文档所需要的代码。有的字符具有自己的记忆名,如注册商标字符在html中可写为&reg。在没有记忆符时,可直接插入其十进制代码。

字符 十进制代码 HTML 描述

" " " Quotation mark

& & & Ampersand

< &#60; &lt; Less than

> &#62; &gt; Greater than

&#160; &nbsp; Non-breaking space

&iexcl; &#161 &iexcl; Inverted exclamation
&cent; &#162 &cent; Cent sign
&pound; &#163 &pound; Pound sterling
¤ &#164 &curren; General currency sign
&yen; &#165 &yen; Yen sign
&brvbar; &#166 &brvbar; broken vertical bar
§ &#167 &sect; Section sign
¨ &#168 &uml; Di&aelig;resis / umlaut
&copy; &#169 &copy; Copyright
&ordf; &#170 &ordf; Feminine ordinal
&laquo; &#171 &laquo; Left angle quote,
&not; &#172 &not; Not sign
&shy;&shy; &#173 &sny; Soft hyphen
&reg; &#174 &reg; Registered trademark
&macr; &#175 &macr; Macron accent
° &#176 &deg; Degree sign
± &#177 &plusmn; Plus or minus
&sup2; &#178 &sup2; Superscript two
&sup3; &#179 &sup3; Superscript three
&acute; &#180 &acute; Acute accent
&micro; &#181 &micro; Micro sign
&para; &#182 &para; Paragraph sign
· &#183 &middot; Middle dot
&cedil; &#184 &cedil; Cedilla
&sup1; &#185 &supl; Superscript one
&ordm; &#186 &ordm; Masculine ordinal
&raquo; &#187 &raquo; Right angle quote
&frac14; &#188 &frac14; Fraction one quarter
&frac12; &#189 &frac12; Fraction one half
&frac34; &#190 &frac34; Fraction three-quarters
&iquest; &#191 &iquest; Inverted question mark
&Agrave; &#192 &Agrave; Capital A, grave accent
&Aacute; &#193 &Aacute; Capital A, acute accent
&Acirc; &#194 &Acirc; Capital A, circumflex
&Atilde; &#195 &Atilde; Capital A, tilde
&Auml; &#196 &Auml; Capital A, di&aelig;resis / umlau
&Aring; &#197 &Aring; Capital A, ring
&AElig; &#198 &AElig; Capital AE, ligature
&Ccedil; &#199 &Ccedil; Capital C, cedilla
&Egrave; &#200 &Egrave; Capital E, grave accent
&Eacute; &#201 &Eacute; Capital E, acute accent
&Ecirc; &#202 &Ecirc; Capital E, circumflex
&Euml; &#203 &Euml; Capital E, di&aelig;resis / umlau
&Igrave; &#204 &Igrave; Capital I, grave accent
&Iacute; &#205 &Iacute; Capital I, acute accent
&Icirc; &#206 &Icirc; Capital I, circumflex
&Iuml; &#207 &Imul; Capital I, di&aelig;resis / umlau
&ETH; &#208 &ETH; Capital ETH, Icelandic
&Ntilde; &#209 &Ntilde; Capital N, tilde
&Ograve; &#210 &Ograve; Capital O, grave accent
&Oacute; &#211 &Oacute; Capital O, acute accent
&Ocirc; &#212 &Ocirc; Capital O, circumflex
&Otilde; &#213 &Otilde; Capital O, tilde
&Ouml; &#214 &Ouml; Capital O, di&aelig;resis/umlau
× &#215 &times; Multiplication sign
&Oslash; &#216 &Oslash; Capital O, slash
&Ugrave; &#217 &Ugrave; Capital U, grave accent
&Uacute; &#218 &Uacute; Capital U, acute accent
&Ucirc; &#219 &Ucirc; Capital U, circumflex,
&Uuml; &#220 &Uuml; Capital U, di&aelig;resis / umlau
&Yacute; &#221 &Yacute; Capital Y, acute accent
&THORN; &#222 &THORN; Capital Thorn,Icelandic,
&szlig; &#223 &szlig; German sz
à &#224 &agrave; Small a, grave accent
á &#225 &aacute; Small a, acute accent
&acirc; &#226 &acirc; Small a, circumflex
&atilde; &#227 &atilde; Small a, tilde
&auml; &#228 &auml; Small a, di&aelig;resis / umlau
&aring; &#229 &aring; Small a, ring
&aelig; &#230 &aelig; Small ae ligature
&ccedil; &#231 &ccedil; Small c, cedilla
è &#232 &egrave; Small e, grave accent
é &#233 &eacute; Small e, acute accent
ê &#234 &ecirc; Small e, circumflex
&euml; &#235 &euml; Small e, di&aelig;resis / umlau
ì &#236 &igrave; Small i, grave accent
í &#237 &iacute; Small i, acute accent
&icirc; &#238 &icirc; Small i, circumflex
&iuml; &#239 &iuml; Small i, di&aelig;resis / umlau
&eth; &#240 &eth; Small eth, Icelandic
&ntilde; &#241 &ntilde; Small n, tilde
ò &#242 &ograve; Small o, grave accent
ó &#243 &oacute; Small o, acute accent
&ocirc; &#244 &ocirc; Small o, circumflex
&otilde; &#245 &otilde; Small o, tilde
&ouml; &#246 &ouml; Small o, di&aelig;resis / umlau
÷ &#247 &divide; Division sign,
&oslash; &#248 &oslash; Small o, slash
ù &#249 &ugrave; Small u, grave accent
ú &#250 &uacute; Small u, acute accent
&ucirc; &#251 &ucirc; Small u, circumflex
ü &#252 &uuml; Small u, di&aelig;resis / umlau
&yacute; &#253 &yacute; Small y, acute accetn
&thorn; &#254 &thorn; Small thorn, Icelandic
&yuml; &#255 &yuml; Small y, di di&aelig;resis / umlaut



请注意,如果想在浏览器中显示html代码,必须用特殊字符代码替代尖括号以避免浏览器对他们解释成开始和结束标记。

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网