HTML Character Codes
Greek Letters - Math in HTML
face="symbol" fonts NO LONGER WORK in Netscape, Mozilla, IE, ...
The newer standards require "entity" or numeric character codes,
see
this very complete listing
To see the symbol fonts on Netscape 4.0+ you need to:
- Enable document fonts:
Edit -> Preferences -> Appearance -> Fonts -> Use-document-fonts
- On Unix and win95/NT:
Enable Western ISO-8859-1 fonts:
View -> Encoding -> Western ISO-8859-1
- On Unix you may also need to insert this line in your .Xdefaults file:
Netscape*documentFonts.charset*adobe-fontspecific: iso-8859-1
- On the Mac: Enable MacRoman fonts:
View -> Encoding -> MacRoman
or Options/Document-Encoding MacRoman
To see the symbol fonts on IE4.0+ you need:
- Western OR Universal Alphabet fonts:
View -> Internet Options -> Fonts -> Western OR Universal Alphabet
If you still can't see the fonts, please
let me know what is your setup.
Modified from
ITC,
with face="symbol" column added
See below for:
greek letters,
a Math-in-HTML example, and
the rest of the codes
Character Codes |
Entity Name |
Numeric Code |
Descriptive Code |
Character |
face= "symbol" |
quotation mark | " | " |
" | " |
dollar sign | $ |
$ | $ |
$ |
ampersand | & |
& | & |
& |
less-than sign | < |
< | < |
< |
greater-than sign | > |
> | > |
> |
??? | \ |
\ | \ |
\ |
??? | ^ |
^ | ^ |
^ |
non-breaking space |   |
| |
|
inverted exclamat. | ¡ |
¡ | ¡ |
¡ |
cent sign | ¢ |
¢ | ¢ |
¢ |
??? | £ |
£ | £ |
£ |
??? | ¤ |
¤ | ¤ |
¤ |
yen sign | ¥ |
¥ | ¥ |
¥ |
??? | ¦ |
¦ | ¦ |
¦ |
section sign | § |
§ | § |
§ |
umlaut | ¨ |
¨ | ¨ |
¨ |
copyright | © |
© | © |
© |
??? | ª |
ª | ª |
ª |
left angle quote | « |
« | « |
« |
??? | ¬ |
¬ | ¬ |
¬ |
soft hyphen | ­ |
­ | |
|
registered trademark | ®
| ® | ® |
® |
??? | ¯ |
¯ | ¯ |
¯ |
degree sign | ° |
° | ° |
° |
plus or minus | ± |
± | ± |
± |
superscript two | ² |
² | ² |
² |
superscript three | ³
| ³ | ³ |
³ |
acute accent | ´ |
´ | ´ |
´ |
??? | µ |
µ | µ |
µ |
paragraph sign | ¶ |
¶ | ¶ |
¶ |
middle dot | · |
· | · |
· |
??? | ¸ |
¸ | ¸ |
¸ |
superscript one | ¹ |
¹ | ¹ |
¹ |
??? | º |
º | º |
º |
right angle quote | »
| » | » |
» |
fraction 1/4 | ¼
| ¼ | ¼ |
¼ |
fraction one-half | ½
| ½ | ½ |
½ |
fraction 3/4 | ¾ |
¾ | ¾ |
¾ |
??? | ¿ |
¿ | ¿
¿ |
capital A grave | À
| À | À |
À |
capital A acute | Á
| Á | Á |
Á |
capital A circumflex | Â
| Â | Â |
 |
capital A tilde | Ã |
à | à |
à |
capital A umlaut | Ä
| Ä | Ä |
Ä |
capital A ring (Angstrom) |
Å | Å | Å |
Å |
capital AE (ligature) | Æ
| Æ | Æ |
Æ |
capital C cedilla | Ç
| Ç | Ç |
Ç |
capital E grave | È
| È | È |
È |
capital E acute | É
| É | É |
É |
capital E circumflex | Ê
| Ê | Ê |
Ê |
capital E umlaut | Ë
| Ë | Ë |
Ë |
capital I grave | Ì
| Ì | Ì |
Ì |
capital I acute | Í
| Í | Í |
Í |
capital I circumflex | Î
| Î | Î |
Î |
capital I umlaut | Ï
| Ï | Ï |
Ï |
??? | Ð |
Ð | Ð |
Ð |
capital N tilde | Ñ |
Ñ | Ñ |
Ñ |
capital O grave | Ò
| Ò | Ò |
Ò |
capital O acute | Ó
| Ó | Ó |
Ó |
capital O circumflex | Ô
| Ô | Ô |
Ô |
capital O tilde | Õ |
Õ | Õ |
Õ |
capital O umlaut | Ö
| Ö | Ö |
Ö |
multiply sign | × |
× | × |
× |
capital O slash | Ø |
Ø | Ø |
Ø |
capital U grave | Ù
| Ù | Ù |
Ù |
capital U acute | Ú
| Ú | Ú |
Ú |
capital U circumflex | Û
| Û | Û |
Û |
capital U umlaut | Ü
| Ü | Ü |
Ü |
capital Y acute | Ý |
Ý | Ý |
Ý |
??? | Þ |
Þ | Þ |
Þ |
??? | ß |
ß | ß |
ß |
small a grave | à |
à | à |
à |
small a acute | á |
á | á |
á |
small a circumflex | â
| â | â |
â |
small a tilde | ã |
ã | ã |
ã |
small a umlaut | ä |
ä | ä |
ä |
small a ring | å |
å | å |
å |
small ae (ligature) | æ
| æ | æ |
æ |
small c cedilla | ç |
ç | ç |
ç |
small e grave | è |
è | è |
è |
small e acute | é |
é | é |
é |
small e circumflex | ê
| ê | ê |
ê |
small e umlaut | ë |
ë | ë |
ë |
small i grave | ì |
ì | ì |
ì |
small i acute | í |
í | í |
í |
small i circumflex | î
| î | î |
î |
small i umlaut | ï |
ï | ï |
ï |
??? | ð |
ð | ð |
ð |
small n tilde | ñ |
ñ | ñ |
ñ |
small o grave | ò |
ò | ò |
ò |
small o acute | ó |
ó | ó |
ó |
small o circumflex | ô
| ô | ô |
ô |
small o tilde | õ |
õ | õ |
õ |
small o umlaut | ö |
ö | ö |
ö |
division sign | ÷ |
÷ | ÷ |
÷ |
small o slash | ø |
ø | ø |
ø |
small u grave | ù |
ù | ù |
ù |
small u acute | ú |
ú | ú |
ú |
small u circumflex | û
| û | û |
û |
small u umlaut | ü |
ü | ü |
ü |
small y acute | ý |
ý | ý |
ý |
??? | þ |
þ | þ |
þ |
small y umlaut |
ÿ | ÿ | ÿ |
ÿ |
Back to the top
Greek Letters via numeric or entity codes
insert as: nnn; or as: &name;
Α | Β | Γ | Δ |
Ε | Ζ | Η | Θ |
Ι | Κ | Λ | Μ |
Ν | Ξ | Ο | Π |
Ρ | Σ | Τ | Υ |
Φ | Χ | Ψ | Ω |
#913 | #914 | #915 | #916 |
#917 | #918 | #919 | #920 |
#921 | #922 | #923 | #924 |
#925 | #926 | #927 | #928 |
#929 | #931 | #932 | #933 |
#934 | #935 | #936 | #937 |
Alpha | Beta | Gamma | Delta |
Epsilon | Zeta | Eta | Theta |
Iota | Kappa | Lambda | Mu |
Nu | Xi | Omicron | Pi |
Rho | Sigma | Tau | Upsilon |
Phi | Chi | Psi | Omega |
α | β | γ | δ |
ε | ζ | η | θ |
ι | κ | λ | μ |
ν | ξ | ο | π |
ρ | σ | ς | τ |
υ | φ | χ | ψ |
ω |
#945 | #946 | #947 | #948 |
#949 | #950 | #951 | #952 |
#953 | #954 | #955 | #956 |
#957 | #958 | #959 | #960 |
#961 | #963 | #962 | #964 |
#965 | #966 | #967 | #968 |
#969 |
alpha | beta | gamma | delta |
epsilon | zeta | eta | theta |
iota | kappa | lambda | mu |
nu | xi | omicron | pi |
rho | sigma | sigmaf | tau |
upsilon | phi | chi | psi |
omega |
Back to the top
OBSOLETE !
No longer works in Netscape7.1 and Mozilla, nor in IE 7.0
Math in straight HTML
x
ó õ
0
|
x
|
( x ¢ )
dx ¢
|
= |
é ê ê ë
|
1 Ö x
|
+
|
e ipx
|
+ Ñ2f
|
+ ¶ty
|
ù ú ú û
|
Here is the HTML code that generates the above math expression
( modified from
TtH in Action ).
Horrible and tricky, but it can be done !
Note that we use the numeric codes (not the "descriptive code"), like:
< font face="symbol">& #209;< /font>
Crucial: To try it, remove the spaces after each < and
& !
< TABLE align=left>
< tr>
< td nowrap align=center>
< font size="-1">& nbsp; x< /font> < br>
< font face="symbol">& #243;< br>& #245;< br>< /font>
< font size="-1">0< /font>& nbsp; < br> < /td>
< td nowrap align=center>
< br>< font face="symbol">x< /font>< br> & nbsp;< br>
< /td >
< td nowrap align=center>
(x< font face="symbol">& #162;< /font>)
dx< font face="symbol">& #162;< /font> < /td>
< td nowrap align=center> = < /td>
< td align=left>< font face="symbol">
& #233;< br>& #234;< br>& #234;< br>& #235;< /FONT>
< br> & euml; < /font> < /td>
< td nowrap align=center>
1 < hr NOSHADE> < FONT face="symbol">& #214< /FONT> x
< /td>
< td nowrap align=center>
e < sup> i < font face="symbol">p< /font> x < /sup>
< /td>
< td nowrap align=center>
+ < font face="symbol">& #209;< /font>< sup>2< /sup>
< font face="symbol"> f < /font> < /td>
< td nowrap align=center>
+ < font face="symbol">& #182;< /font>< sub>t< /sub>< font
face="symbol">y< /font> < /td>
< td align=left>< font face="symbol">
& #249;< br>& #250;< br>& #250; < br>& #251;
< /font> < /td>
< /tr>
< /TABLE >
A better solution: compose in LaTex, use the
TtH: Tex to HTML translator,
then fix it up using the above symbols, if needed.
Back to the top
Here is what the rest of the numeric codes produce:
(not visible on some browsers)
Numeric Code | Character | face="symbol" |
� -   | blank |
blank |
! | ! |
! |
" | " |
" |
# | # |
# |
$ | $ |
$ |
% | % |
% |
& | & |
& |
' | ' |
' |
( | ( |
( |
) | ) |
) |
* | * |
* |
+ | + |
+ |
, | , |
, |
- | - |
- |
. | . |
. |
/ | / |
/ |
0 - 9 | 0 - 9 |
0 - 9 |
: | : |
: |
; | ; |
; |
< | < |
< |
= | = |
= |
> | > |
> |
? | ? |
? |
@ | @ |
@ |
A - Z | A - Z |
A - Z |
[ | [ |
[ |
\ | \ |
\ |
] | ] |
] |
^ | ^ |
^ |
_ | _ |
_ |
` | ` |
` |
a - z | a - z |
a - z |
{ | { |
{ |
| | | |
| |
} | } |
} |
~ | ~ |
~ |
 | |
|
€ | |
|
 | |
|
‚ | |
|
ƒ | |
|
„ | |
|
… |
|
|
† | |
|
‡ | |
|
ˆ | |
|
‰ | |
|
Š | |
|
‹ | |
|
Œ | |
|
 | |
|
Ž | |
|
 | |
|
 | |
|
‘ | |
|
’ | |
|
“ | |
|
” | |
|
• | |
|
– | |
|
— | |
|
˜ | |
|
™ | |
|
š | |
|
› | |
|
œ | |
|
 | |
|
ž | |
|
Ÿ | |
|
Back to the top
Last Modified: