HTML Topics: Symbols |
Symbols
Given that the Web was invented by scientists at Cern in Switzerland, it may seem surprising at first that little thought was given to the problem of displaying Greek letters and mathematical symbols in Web documents. The early method for the display of Greek characters in HTML documents involved the use of the symbol font available on most computers. Unfortunately, the latest browsers removed backwards compatibility (a retrograde step) with this de facto use of the symbol font, and so a move to new standards has been enforced.
The new method involves the use of character names or encoding number. These are always preceded by the ampersand character (&) and followed by a semicolon (;). Referencing by what is known as their Unicode encoding number takes the form &#nnn; or &#nnnn; where nnn or nnnn is a three or four digit decimal number, respectively.
The Greek letter alpha using encoding number is α
Greek Letters
If you do not see Greek letters in the table, then your system is not correctly configured to view them or you are using an out-of-date web browser (see the technical specification web page provided with the course details).
Name | Glyph | HTML | Glyph | HTML |
---|---|---|---|---|
Alpha | α | α | Α | Α |
Beta | β | β | Β | Β |
Gamma | γ | γ | Γ | Γ |
Delta | δ | δ | Δ | Δ |
Epsilon | ε | ε | Ε | Ε |
Zeta | ζ | ζ | Ζ | Ζ |
Eta | η | η | Η | Η |
Theta | θ | θ | Θ | Θ |
Iota | ι | ι | Ι | Ι |
Kappa | κ | κ | Κ | Κ |
Lambda | λ | λ | Λ | Λ |
Mu | μ | μ | Μ | Μ |
Nu | ν | ν | Ν | Ν |
Xi | ξ | ξ | Ξ | Ξ |
Omicron | ο | ο | Ο | Ο |
Pi | π | π | Π | Π |
Rho | ρ | ρ | Ρ | Ρ |
Sigma | σ | σ | Σ | Σ |
ς | ς | |||
Tau | τ | τ | Τ | Τ |
Upsilon | υ | υ | Υ | Υ |
Phi | φ | φ | Φ | Φ |
Chi | χ | χ | Χ | Χ |
Psi | ψ | ψ | Ψ | Ψ |
Omega | ω | ω | Ω | Ω |
Mathematical Characters
In addition to the Greek characters, the physical sciences also make use of various mathematical characters. A table of some of the more common ones is given below. They have a similar syntax to those above.
Name | Glyph | HTML | Name | Glyph | HTML | |
---|---|---|---|---|---|---|
Multiply | × | × | Divide | ÷ | ÷ | |
Minus | − | − | Plus/Minus | ± | ± | |
Degrees | ° | ° | Micro | µ | µ | |
Square Root | √ | √ | Infinity | ∞ | ∞ | |
Almost Equal | ≈ | ≈ | Not Equal | ≠ | ≠ | |
Greater/Equal | ≥ | ≥ | Less/Equal | ≤ | ≤ | |
Prime | ′ | ′ | Partial | ∂ | ∂ | |
Integral | ∫ | ∫ | Equivalent | ≡ | ≡ | |
Copyright | © | © | Registered | ® | ® | |
En Dash | – | – | Em Dash | — | — | |
Function | ƒ | ƒ | Per Thousand | ‰ | ‰ | |
Centred Dot | · | · | Bullet | • | • | |
Left Arrow | ← | ← | Right Arrow | → | → | |
Up Arrow | ↑ | ↑ | Down Arrow | ↓ | ↓ |
Accented Characters
Finally, there are a number of other characters that you will also need. Accented characters are common to many of the western European languages, and these can be referenced using a similar syntax to the above, i.e. &Character_Name;. Thus, the entity Å produces the symbol Å for Ångström (which is the SI derived unit commonly used by nearly all crystallographers for the units of bond length), while the ö in Ångström is produced by ö.
Name | Glyph | HTML | Name | Glyph | HTML | |
---|---|---|---|---|---|---|
A Ring | Å | Å | E Acute | É | É | |
e Grave | è | è | u Umlaut | ü | ü | |
Left Single Quote | ‘ | ‘ | Right Single Quote | ’ | ’ | |
Left Double Quote | “ | “ | Right Double Quote | ” | ” | |
Paragraph | ¶ | ¶ | Section | § | § | |
Pounds | £ | £ | Euros | € | € |
If you need to check the full list of names, refer to the list of HTML character codes given in the Web Authoring Links.
© Copyright 1995-2006. Birkbeck College, University of London. | Author(s): Jeremy Karl Cockcroft |