Top > 文字実体参照

文字実体参照

修正 @ Dec 30, 2005 06:00:00

Tag: Web

文字実体参照とは

Character Entity References

XHTMLでの特殊文字の表記方法。キーボードから直接入力できない文字やXHTMLのマークアップ(タグ)を表現する時に使う。XMLの実体参照に相当。数値文字参照よりも人間が覚え易い表記になっている。

書式は、

&実体名称;

XHTML文字実体参照

全てのブラウザで一様に表示されるもの

表示文字実体参照数値文字参照
<&amp;lt;&amp;#060;
>&amp;gt;&amp;#062;
&&amp;amp;&amp;#038;
"&amp;quot;&amp;#034;

Latin 1 特殊文字

表示文字実体参照数値文字参照
 &amp;nbsp;&amp;#160;
¡&amp;iexcl;&amp;#161;
¢&amp;cent;&amp;#162;
£&amp;pound;&amp;#163;
¤&amp;curren;&amp;#164;
¥&amp;yen;&amp;#165;
¦&amp;brvbar;&amp;#166;
§&amp;sect;&amp;#167;
¨&amp;uml;&amp;#168;
©&amp;copy;&amp;#169;
ª&amp;ordf;&amp;#170;
«&amp;laquo;&amp;#171;
¬&amp;not;&amp;#172;
­&amp;shy;&amp;#173;
®&amp;reg;&amp;#174;
¯&amp;macr;&amp;#175;
°&amp;deg;&amp;#176;
±&amp;plusmn;&amp;#177;
²&amp;sup2;&amp;#178;
³&amp;sup3;&amp;#179;
´&amp;acute;&amp;#180;
µ&amp;micro;&amp;#181;
&amp;para;&amp;#182;
·&amp;middot;&amp;#183;
¸&amp;cedil;&amp;#184;
¹&amp;sup1;&amp;#185;
º&amp;ordm;&amp;#186;
»&amp;raquo;&amp;#187;
¼&amp;frac14;&amp;#188;
½&amp;frac12;&amp;#189;
¾&amp;frac34;&amp;#190;
¿&amp;iquest;&amp;#191;
À&amp;Agrave;&amp;#192;
Á&amp;Aacute;&amp;#193;
Â&amp;Acirc;&amp;#194;
Ã&amp;Atilde;&amp;#195;
Ä&amp;Auml;&amp;#196;
Å&amp;Aring;&amp;#197;
Æ&amp;AElig;&amp;#198;
Ç&amp;Ccedil;&amp;#199;
È&amp;Egrave;&amp;#200;
É&amp;Eacute;&amp;#201;
Ê&amp;Ecirc;&amp;#202;
Ë&amp;Euml;&amp;#203;
Ì&amp;Igrave;&amp;#204;
Í&amp;Iacute;&amp;#205;
Î&amp;Icirc;&amp;#206;
Ï&amp;Iuml;&amp;#207;
Ð&amp;ETH;&amp;#208;
Ñ&amp;Ntilde;&amp;#209;
Ò&amp;Ograve;&amp;#210;
Ó&amp;Oacute;&amp;#211;
Ô&amp;Ocirc;&amp;#212;
Õ&amp;Otilde;&amp;#213;
Ö&amp;Ouml;&amp;#214;
×&amp;times;&amp;#215;
Ø&amp;Oslash;&amp;#216;
Ù&amp;Ugrave;&amp;#217;
Ú&amp;Uacute;&amp;#218;
Û&amp;Ucirc;&amp;#219;
Ü&amp;Uuml;&amp;#220;
Ý&amp;Yacute;&amp;#221;
Þ&amp;THORN;&amp;#222;
ß&amp;szlig;&amp;#223;
à&amp;agrave;&amp;#224;
á&amp;aacute;&amp;#225;
â&amp;acirc;&amp;#226;
ã&amp;atilde;&amp;#227;
ä&amp;auml;&amp;#228;
å&amp;aring;&amp;#229;
æ&amp;aelig;&amp;#230;
ç&amp;ccedil;&amp;#231;
è&amp;egrave;&amp;#232;
é&amp;eacute;&amp;#233;
ê&amp;ecirc;&amp;#234;
ë&amp;euml;&amp;#235;
ì&amp;igrave;&amp;#236;
í&amp;iacute;&amp;#237;
î&amp;icirc;&amp;#238;
ï&amp;iuml;&amp;#239;
ð&amp;eth;&amp;#240;
ñ&amp;ntilde;&amp;#241;
ò&amp;ograve;&amp;#242;
ó&amp;oacute;&amp;#243;
ô&amp;ocirc;&amp;#244;
õ&amp;otilde;&amp;#245;
ö&amp;ouml;&amp;#246;
÷&amp;divide;&amp;#247;
ø&amp;oslash;&amp;#248;
ù&amp;ugrave;&amp;#249;
ú&amp;uacute;&amp;#250;
û&amp;ucirc;&amp;#251;
ü&amp;uuml;&amp;#252;
ý&amp;yacute;&amp;#253;
þ&amp;thorn;&amp;#254;
ÿ&amp;yuml;&amp;#255;

特殊文字

表示文字実体参照数値文字参照
<&amp;lt;&amp;#60;
>&amp;gt;&amp;#62;
&&amp;amp;&amp;#38;
'&amp;apos;&amp;#39;
"&amp;quot;&amp;#34;
Œ&amp;OElig;&amp;#338;
œ&amp;oelig;&amp;#339;
Š&amp;Scaron;&amp;#352;
š&amp;scaron;&amp;#353;
Ÿ&amp;Yuml;&amp;#376;
ˆ&amp;circ;&amp;#710;
˜&amp;tilde;&amp;#732;
&amp;ensp;&amp;#8194;
&amp;emsp;&amp;#8195;
&amp;thinsp;&amp;#8201;
&amp;zwnj;&amp;#8204;
&amp;zwj;&amp;#8205;
&amp;lrm;&amp;#8206;
&amp;rlm;&amp;#8207;
&amp;ndash;&amp;#8211;
&amp;mdash;&amp;#8212;
&amp;lsquo;&amp;#8216;
&amp;rsquo;&amp;#8217;
&amp;sbquo;&amp;#8218;
&amp;ldquo;&amp;#8220;
&amp;rdquo;&amp;#8221;
&amp;bdquo;&amp;#8222;
&amp;dagger;&amp;#8224;
&amp;Dagger;&amp;#8225;
&amp;permil;&amp;#8240;
&amp;lsaquo;&amp;#8249;
&amp;rsaquo;&amp;#8250;
&amp;euro;&amp;#8364;

数学記号、ギリシャ文字、記号文字

表示文字実体参照数値文字参照
Α&amp;Alpha;&amp;#913;
Β&amp;Beta;&amp;#914;
Γ&amp;Gamma;&amp;#915;
Δ&amp;Delta;&amp;#916;
Ε&amp;Epsilon&amp;#917;
Ζ&amp;Zeta;&amp;#918;
Η&amp;Eta;&amp;#919;
Θ&amp;Theta;&amp;#920;
Ι&amp;Iota;&amp;#921;
Κ&amp;Kappa;&amp;#922;
Λ&amp;Lambda;&amp;#923;
Μ&amp;Mu;&amp;#924;
Ν&amp;Nu;&amp;#925;
Ξ&amp;Xi;&amp;#926;
Ο&amp;Omicron&amp;#927;
Π&amp;Pi;&amp;#928;
Ρ&amp;Rho;&amp;#929;
Σ&amp;Sigma;&amp;#931;
Τ&amp;Tau;&amp;#932;
Υ&amp;Upsilon&amp;#933;
Φ&amp;Phi;&amp;#934;
Χ&amp;Chi;&amp;#935;
Ψ&amp;Psi;&amp;#936;
Ω&amp;Omega;&amp;#937;
α&amp;alpha;&amp;#945;
β&amp;beta;&amp;#946;
γ&amp;gamma;&amp;#947;
δ&amp;delta;&amp;#948;
ε&amp;epsilon&amp;#949;
ζ&amp;zeta;&amp;#950;
η&amp;eta;&amp;#951;
θ&amp;theta;&amp;#952;
ι&amp;iota;&amp;#953;
κ&amp;kappa;&amp;#954;
λ&amp;lambda;&amp;#955;
μ&amp;mu;&amp;#956;
ν&amp;nu;&amp;#957;
ξ&amp;xi;&amp;#958;
ο&amp;omicron&amp;#959;
π&amp;pi;&amp;#960;
ρ&amp;rho;&amp;#961;
ς&amp;sigmaf;&amp;#962;
σ&amp;sigma;&amp;#963;
τ&amp;tau;&amp;#964;
υ&amp;upsilon&amp;#965;
φ&amp;phi;&amp;#966;
χ&amp;chi;&amp;#967;
ψ&amp;psi;&amp;#968;
ω&amp;omega;&amp;#969;
ϑ&amp;thetasy&amp;#977;
ϒ&amp;upsih;&amp;#978;
ϖ&amp;piv;&amp;#982;
&amp;bull;&amp;#8226;
&amp;hellip;&amp;#8230;
&amp;prime;&amp;#8242;
&amp;Prime;&amp;#8243;
&amp;oline;&amp;#8254;
&amp;frasl;&amp;#8260;
&amp;weierp;&amp;#8472;
&amp;image;&amp;#8465;
&amp;real;&amp;#8476;
&amp;trade;&amp;#8482;
&amp;alefsym&amp;#8501;
&amp;larr;&amp;#8592;
&amp;uarr;&amp;#8593;
&amp;rarr;&amp;#8594;
&amp;darr;&amp;#8595;
&amp;harr;&amp;#8596;
&amp;crarr;&amp;#8629;
&amp;lArr;&amp;#8656;
&amp;uArr;&amp;#8657;
&amp;rArr;&amp;#8658;
&amp;dArr;&amp;#8659;
&amp;hArr;&amp;#8660;
&amp;forall;&amp;#8704;
&amp;part;&amp;#8706;
&amp;exist;&amp;#8707;
&amp;empty;&amp;#8709;
&amp;nabla;&amp;#8711;
&amp;isin;&amp;#8712;
&amp;notin;&amp;#8713;
&amp;ni;&amp;#8715;
&amp;prod;&amp;#8719;
&amp;sum;&amp;#8721;
&amp;minus;&amp;#8722;
&amp;lowast;&amp;#8727;
&amp;radic;&amp;#8730;
&amp;prop;&amp;#8733;
&amp;infin;&amp;#8734;
&amp;ang;&amp;#8736;
&amp;and;&amp;#8743;
&amp;or;&amp;#8744;
&amp;cap;&amp;#8745;
&amp;cup;&amp;#8746;
&amp;int;&amp;#8747;
&amp;there4;&amp;#8756;
&amp;sim;&amp;#8764;
&amp;cong;&amp;#8773;
&amp;asymp;&amp;#8776;
&amp;ne;&amp;#8800;
&amp;equiv;&amp;#8801;
&amp;le;&amp;#8804;
&amp;ge;&amp;#8805;
&amp;sub;&amp;#8834;
&amp;sup;&amp;#8835;
&amp;nsub;&amp;#8836;
&amp;sube;&amp;#8838;
&amp;supe;&amp;#8839;
&amp;oplus;&amp;#8853;
&amp;otimes;&amp;#8855;
&amp;perp;&amp;#8869;
&amp;sdot;&amp;#8901;
&amp;lceil;&amp;#8968;
&amp;rceil;&amp;#8969;
&amp;lfloor;&amp;#8970;
&amp;rfloor;&amp;#8971;
&amp;lang;&amp;#9001;
&amp;rang;&amp;#9002;
&amp;loz;&amp;#9674;
&amp;spades;&amp;#9824;
&amp;clubs;&amp;#9827;
&amp;hearts;&amp;#9829;
&amp;diams;&amp;#9830;