Difference between revisions of "HTML entity"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search
(rsquo, lsquo)
(Entities by Number: fixed repeated number)
Line 73: Line 73:
 
| § || § §
 
| § || § §
 
| Ç || Ç
 
| Ç || Ç
| æ || æ
+
| ç || ç
 
|-
 
|-
 
| ( || (
 
| ( || (
Line 81: Line 81:
 
| ¨ || ¨
 
| ¨ || ¨
 
| È || È
 
| È || È
| ç || ç
+
| è || è
 
|-
 
|-
 
| ) || )
 
| ) || )
Line 89: Line 89:
 
| © || © ©
 
| © || © ©
 
| É || É
 
| É || É
| è || è
+
| é || é
 
|-
 
|-
 
| * || *
 
| * || *
Line 97: Line 97:
 
| ª || ª
 
| ª || ª
 
| Ê || Ê
 
| Ê || Ê
| é || é
+
| ê || ê
 
|-
 
|-
 
| + || +
 
| + || +
Line 105: Line 105:
 
| « || «
 
| « || «
 
| Ë || Ë
 
| Ë || Ë
| ê || ê
+
| ë || ë
 
|-
 
|-
 
| , || ,
 
| , || ,
Line 113: Line 113:
 
| ¬ || ¬
 
| ¬ || ¬
 
| Ì || Ì
 
| Ì || Ì
| ë || ë
+
| ì || ì
 
|-
 
|-
 
| - || -
 
| - || -
Line 121: Line 121:
 
| ­ || ­
 
| ­ || ­
 
| Í || Í
 
| Í || Í
| ì || ì
+
| í || í
 
|-
 
|-
 
| . || .
 
| . || .
Line 129: Line 129:
 
| ® || ®
 
| ® || ®
 
| Î || Î
 
| Î || Î
| í || í
+
| î || î
 
|-
 
|-
 
| / || /
 
| / || /
Line 137: Line 137:
 
| ¯ || ¯
 
| ¯ || ¯
 
| Ï || Ï
 
| Ï || Ï
| î || î
+
| ï || ï
 
|-
 
|-
 
| 0 || 0
 
| 0 || 0
Line 145: Line 145:
 
| ° || °
 
| ° || °
 
| Ð || Ð
 
| Ð || Ð
| ï || ï
+
| ð || ð
 
|-
 
|-
 
| 1 || 1
 
| 1 || 1
Line 153: Line 153:
 
| ± || ±
 
| ± || ±
 
| Ñ || Ñ
 
| Ñ || Ñ
| ð || ð
+
| ñ || ñ
 
|-
 
|-
 
| 2 || 2
 
| 2 || 2
Line 161: Line 161:
 
| ² || ²
 
| ² || ²
 
| Ò || Ò
 
| Ò || Ò
| ñ || ñ
+
| ò || ò
 
|-
 
|-
 
| 3 || 3
 
| 3 || 3
Line 169: Line 169:
 
| ³ || ³
 
| ³ || ³
 
| Ó || Ó
 
| Ó || Ó
| ò || ò
+
| ó || ó
 
|-
 
|-
 
| 4 || 4
 
| 4 || 4
Line 177: Line 177:
 
| ´ || ´
 
| ´ || ´
 
| Ô || Ô
 
| Ô || Ô
| ó || ó
+
| ô || ô
 
|-
 
|-
 
| 5 || 5
 
| 5 || 5
Line 185: Line 185:
 
| µ || µ
 
| µ || µ
 
| Õ || Õ
 
| Õ || Õ
| ô || ô
+
| õ || õ
 
|-
 
|-
 
| 6 || 6
 
| 6 || 6
Line 193: Line 193:
 
| ¶ || ¶
 
| ¶ || ¶
 
| Ö || Ö
 
| Ö || Ö
| õ || õ
+
| ö || ö
 
|-
 
|-
 
| 7 || 7
 
| 7 || 7
Line 201: Line 201:
 
| · || ·
 
| · || ·
 
| × || ×
 
| × || ×
| ö || ö
+
| ÷ || ÷
 
|-
 
|-
 
| 8 || 8
 
| 8 || 8
Line 209: Line 209:
 
| ¸ || ¸
 
| ¸ || ¸
 
| Ø || Ø
 
| Ø || Ø
| ÷ || ÷
+
| ø || ø
 
|-
 
|-
 
| 9 || 9
 
| 9 || 9
Line 217: Line 217:
 
| ¹ || ¹
 
| ¹ || ¹
 
| Ù || Ù
 
| Ù || Ù
| ø || ø
+
| ù || ù
 
|-
 
|-
 
| : || :
 
| : || :
Line 225: Line 225:
 
| º || º
 
| º || º
 
| Ú || Ú
 
| Ú || Ú
| ù || ù
+
| ú || ú
 
|-
 
|-
 
| &#59; || &#59;
 
| &#59; || &#59;
Line 233: Line 233:
 
| » || »
 
| » || »
 
| Û || Û
 
| Û || Û
| ú || ú
+
| û || û
 
|-
 
|-
 
| < || <
 
| < || <
Line 241: Line 241:
 
| ¼ || ¼
 
| ¼ || ¼
 
| Ü || Ü
 
| Ü || Ü
| û || û
+
| ü || ü
 
|-
 
|-
 
| = || =
 
| = || =
Line 249: Line 249:
 
| ½ || ½
 
| ½ || ½
 
| Ý || Ý
 
| Ý || Ý
| ü || ü
+
| ý || ý
 
|-
 
|-
 
| > || >
 
| > || >
Line 257: Line 257:
 
| ¾ || ¾
 
| ¾ || ¾
 
| Þ || Þ
 
| Þ || Þ
| ý || ý
+
| þ || þ þ
 
|-
 
|-
 
| ? || ?
 
| ? || ?
Line 265: Line 265:
 
| ¿ || ¿
 
| ¿ || ¿
 
| ß || ß
 
| ß || ß
| þ || þ þ
+
| ÿ || ÿ
 
|-
 
|-
 
| @ || @
 
| @ || @
Line 273: Line 273:
 
| À || À À
 
| À || À À
 
| à || à
 
| à || à
| ÿ || ÿ
+
| Ā || Ā
 
|}
 
|}
And yes, it keeps going after this: ĀāĂă...
+
And yes, it keeps going after this: āĂă...
  
 
Others:
 
Others:
 
* ’ - ’ - right single-quote
 
* ’ - ’ - right single-quote
 
* ‘ - ‘ - left single-quote
 
* ‘ - ‘ - left single-quote

Revision as of 18:06, 13 April 2013

Overview

An HTML entity is a combination of characters which will be displayed within an HTML browser as a single character. All HTML entities begin with "&" (ampersand) and end with ";" (semicolon). Many entities have mnemonic names (such as "&", which displays an ampersand); any possible character can be displayed as an entity by using the format "&#number;" where number is the output character's ASCII value in decimal.

Reference

Questions

  • Does Google resolve html entities when indexing web pages? That is, if I spelled a word (e.g. "schmerglefrotz") entirely using html entities, would someone be able to find that page using google by typing "schmerglefrotz" (after the site had been spidered, of course)? (As a test, I will spell a completely different word using HTML entities, and try Googling it later: FRELGKLOTZ)
    • 2007-07-15 answer: Yes, it does find it (though it took several months at least before this page got indexed).

Entities by Number

  • 0-8 are not translated
  • 9 is probably TAB
  • 10 is probably LF
  • 13 is probably CR
  • 14-31 are not translated
  • 32 is a standard space
lower ASCII upper ASCII
! ! A A a a   ¡ ¡ Á Á Á á á
" " B B b b ‚ ‚ ¢ ¢ Â Â â â
# # C C c c ƒ ƒ £ £ Ã Ã Ã ã ã
$ $ D D d d „ „ ¤ ¤ Ä Ä Ä ä ä
% % E E e e … … ¥ ¥ Å Å å å
& & & F F f f † † ¦ ¦ Æ Æ Æ æ æ
' ' G G g g ‡ ‡ § § § Ç Ç ç ç
( ( H H h h ˆ ˆ ¨ ¨ È È è è
) ) I I i i ‰ ‰ © © © É É é é
* * J J j j Š Š ª ª Ê Ê ê ê
+ + K K k k ‹ ‹ « « Ë Ë ë ë
, , L L l l Œ Œ ¬ ¬ Ì Ì ì ì
- - M M m m   ­ ­ Í Í í í
. . N N n n Ž Ž ® ® Î Î î î
/ / O O o o   ¯ ¯ Ï Ï ï ï
0 0 P P p p   ° ° Ð Ð ð ð
1 1 Q Q q q ‘ ‘ ± ± Ñ Ñ ñ ñ
2 2 R R r r ’ ’ ² ² Ò Ò ò ò
3 3 S S s s “ “ ³ ³ Ó Ó ó ó
4 4 T T t t ” ” ´ ´ Ô Ô ô ô
5 5 U U u u • • µ µ Õ Õ õ õ
6 6 V V v v – – ¶ Ö Ö ö ö
7 7 W W w w — — · · × × ÷ ÷
8 8 X X x x ˜ ˜ ¸ ¸ Ø Ø ø ø
9 9 Y Y y y ™ ™ ™ ¹ ¹ Ù Ù ù ù
: : Z Z z z š š º º Ú Ú ú ú
; &#59; [ [ { { › › » » Û Û û û
< &#60; \ &#92; &#124; &#156; &#156; ¼ &#188; Ü &#220; ü &#252;
= &#61; ] &#93; } &#125; &#157; &#157; ½ &#189; Ý &#221; ý &#253;
> &#62; ^ &#94; ~ &#126; &#158; &#158; ¾ &#190; Þ &#222; þ &#254; &thorn;
? &#63; _ &#95; &#127; &#127; &#159; &#159; ¿ &#191; ß &#223; ÿ &#255;
@ &#64; ` &#96; &#128; &#128;   &#160; À &#192; &Agrave; à &#224; Ā &#256;

And yes, it keeps going after this: āĂă...

Others:

  • &rsquo; - ’ - right single-quote
  • &lsquo; - ‘ - left single-quote