Waver's blog

心境如秋

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
These are character sequences that may appear in HTML documents; they represent sometimes useful symbols that are not part of the standard ASCII set or that would be difficult or impossible to type otherwise (e.g. the less-than sign, which would always be mistaken for the beginning of an HTML tag). Case is signinficant.

The content of this table has been throughly tested.
If the character that appears in the first column does not fit the description in the third column,
your browser has a screw loose.
"
" Double quote
&
& Ampersand ("and" sign)
<
< Less-than
&gt;
> Greater-than
&nbsp;
un-linebreak-able space
&iexcl;
¡ Upside-down !
&cent;
¢ Cent sign (c crossed out)
&pound;
£ Pound sign: the currency symbol
not the tic-tac-toe telephone symbol, which is incorrectly called "pound".
&curren;
¤ circle with dashes at NE, SE, SW, and NW
&yen;
¥ Y crossed out
&brvbar;
¦ Vertical line, maybe with gap in middle
&sect;
§ Section sign (like hurricane symbol on weather maps)
&uml;
¨ Two dots up in the air
&copy;
© Copyright sign (C in a circle)
&ordf;
ª lower case "a" up in the air
&laquo;
« Two small less-than signs: the German open-quote
&not;
¬ Not sign from classical logic
&shy;
­ "Soft" hyphen: a dash
&reg;
® Registered sign (R in a circle)
&macr;
¯ Macron (horizontal line up in the air)
&deg;
° Degree sign
&plusmn;
± Plus-or-minus sign
&sup2
² 2 up in the air
&sup3;
³ 3 up in the air
&acute;
´ Little dash pointing to North-East
&micro;
µ Micro sign, lower case Greek Mu
&para;
Paragraph sign (mirror image capital P with two legs and a black eye)
&middot;
· Decimal Point (English style, mid-level)
&cedil;
¸ Small sickle shape, low down
&sup1;
¹ 1 up in the air
&ordm;
º lower case "o" up in the air
&raquo;
» Two small greater-than signs: the German close-quote
&frac14;
¼ One quarter
&frac12;
½ One half
&frac34;
¾ Three quarters
&iquest;
¿ Upside-down ?
&times;
× Times sign: narrow x without serifs
&divide;
÷ Division sign: a colon : with a dash through it
&ETH;
Ð Old English voiced "Th", "D" with dash through upright
&eth;
ð Old Englished voiced "th": bendy "d" with dash through tail
&THORN;
Þ Old English unvoiced "Th": "P" but loop has slipped down
&thorn;
þ Old English unvoiced "th": smaller version of the above
&AElig;
Æ "A" and "E" in a ligature, as in ENCYCLOPAEDIA
&aelig;
æ "a" and "e" in a ligature, as in "encyclopaedia"
&OElig;
Π"O" and "E" in a ligature, as in MANOEUVRE
&oelig;
œ "o" and "e" in a ligature, as in "manoeuvre"
&Aring;
Å "A" with a little circle above: Angstrom sign
&Oslash;
Ø "O" with diagonal line through: Empty set sign
&Ccedil;
Ç "C" with cedilla (sickle shape) underneath
&ccedil;
ç "c" with cedilla (sickle shape) underneath
&szlig;
ß German "sz" ligature, like a lower case Greek Beta
&Ntilde;
Ñ N with wiggle on top
&ntilde;
ñ n with wiggle on top

Accents and things

Accents on letters are available in all sorts of (but not every possible) combination.
The accents available are:
  • Acute: little dash on top, pointing to North-East,
  • Grave: little dash on top, pointing to North-West,
  • Circumflex: like a roof on top of the letter,
  • Umlaut: two dots on top, could also be used as a dieresis,
  • Tilde: wiggle on top,
  • Ring: circle on top, touching the letter.
They can appear on capital and lower case versions of A, E, I, O, U, and Y.
Some consonants also have similar marks, but they are listed in the first table.

The HTML "character entities" are made by combining four elements:
  1. an ampersand "&",
  2. the letter to be accented, either capital or lower case,
  3. the abbreviation for the desired accent:
    Acute=acute, Grave=grave, Circumflex=circ, Unlaut=uml, Dieresis=uml, Tilde=tilde, Ring=ring
  4. a semicolon ";"
Example: for a capital E with a grave accent use &Egrave;

The following table attempts all the combinations so you can see which work. I have marked with the abbreviation "std" all those that supposed to be there, so you should be able to rely on their presence, but you know what browsers are like.

A acute Á std
A grave À std
A circ  std
A uml Ä std
A tilde à std
A ring Å std
a acute á std
a grave à std
a circ â std
a uml ä std
a tilde ã std
a ring å std
E acute É std
E grave È std
E circ Ê std
E uml Ë std
E tilde &Etilde;
E ring &Ering;
e acute é std
e grave è std
e circ ê std
e uml ë std
e tilde &etilde;
e ring &ering;
I acute Í std
I grave Ì std
I circ Î std
I uml Ï std
I tilde &Itilde;
I ring &Iring;
i acute í std
i grave ì std
i circ î std
i uml ï std
i tilde &itilde;
i ring &iring;
O acute Ó std
O grave Ò std
O circ Ô std
O uml Ö std
O tilde Õ std
O ring &Oring;
o acute ó std
o grave ò std
o circ ô std
o uml ö std
o tilde õ std
o ring &oring;
U acute Ú std
U grave Ù std
U circ Û std
U uml Ü std
U tilde &Utilde;
U ring &Uring;
u acute ú std
u grave ù std
u circ û std
u uml ü std
u tilde &utilde;
u ring &uring;
Y acute Ý std
Y grave &Ygrave;
Y circ &Ycirc;
Y uml Ÿ std
Y tilde &Ytilde;
Y ring &Yring;
y acute ý std
y grave &ygrave;
y circ &ycirc;
y uml ÿ std
y tilde &ytilde;
y ring &yring;
posted on 2009-11-04 15:41  Waver  阅读(221)  评论(0编辑  收藏  举报