欢迎光临
我们一直在努力

html中的特殊字符

建站超值云服务器,限时71元/月

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代码,必须用特殊字符代码替代尖括号以避免浏览器对他们解释成开始和结束标记。

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » html中的特殊字符
分享到: 更多 (0)