I came across this handy guide yesterday on how to code Greek letters in HTML. It's useful for me, so I'm putting it on my blog. Hopefully some of you were in need of the reference as well. The codes for the Greek letters come from Special Characters (Characters with Diacritical Marks) for International Folk Dance Descriptions, by Dick Oakes. Some of the Greek characters may be part of the Unicode character set. You may need to add the following bit of code in the head part of your HTML document:
To make the right character appear on the page, you start with an ampersand (&) and a pound sign (#), followed by a 3-digit number, and ending with a semicolon (;). On the list of ASCII codes for Greek letters shown below, there is a space between the # and the first number (9). You must remove this space to make the code work.
Α - &# 913; - Greek capital Alpha
α - &# 945; - Greek lower case alpha
Β - &# 914; - Greek capital Beta
β - &# 946; - Greek lower case beta
Γ - &# 915; - Greek capital Gamma
γ - &# 947; - Greek lower case gamma
Δ - &# 916; - Greek capital Delta
δ - &# 948; - Greek lower case delta
Ε - &# 917; - Greek capital Epsilon
ε - &# 949; - Greek lower case epsilon
Ζ - &# 918; - Greek capital Zeta
ζ - &# 950; - Greek lower case zeta
Η - &# 919; - Greek capital Eta
η - &# 951; - Greek lower case eta
Θ - &# 920; - Greek capital Theta
θ - &# 952; - Greek lower case theta
Ι - &# 921; - Greek capital Iota
ι - &# 953; - Greek lower case iota
Κ - &# 922; - Greek capital Kappa
κ - &# 954; - Greek lower case kappa
Λ - &# 923; - Greek capital Lamda
λ - &# 955; - Greek lower case lamda
Μ - &# 924; - Greek capital Mu
μ - &# 956; - Greek lower case mu
Ν - &# 925; - Greek capital Nu
ν - &# 957; - Greek lower case nu
Ξ - &# 926; - Greek capital Xi
ξ - &# 958; - Greek lower case xi
Ο - &# 927; - Greek capital Omicron
ο - &# 959; - Greek lower case omicron
Π - &# 928; - Greek capital Pi
π - &# 960; - Greek lower case pi
Ρ - &# 929; - Greek capital Rho
ρ - &# 961; - Greek lower case rho
Σ - &# 931; - Greek capital Sigma
σ - &# 963; - Greek lower case sigma
ς - &# 962; - Greek lower case final sigma
Τ - &# 932; - Greek capital Tau
τ - &# 964; - Greek lower case tau
Υ - &# 933; - Greek capital Upsilon
υ - &# 965; - Greek lower case upsilon
Φ - &# 934; - Greek capital Phi
φ - &# 966; - Greek lower case phi
Χ - &# 935; - Greek capital Chi
χ - &# 967; - Greek lower case chi
Ψ - &# 936; - Greek capital Psi
ψ - &# 968; - Greek lower case psi
Ω - &# 937; - Greek capital Omega
ω - &# 969; - Greek lower case omega
<meta http-equiv="content-type" content="text/html; charset=utf-8">
To make the right character appear on the page, you start with an ampersand (&) and a pound sign (#), followed by a 3-digit number, and ending with a semicolon (;). On the list of ASCII codes for Greek letters shown below, there is a space between the # and the first number (9). You must remove this space to make the code work.
Α - &# 913; - Greek capital Alpha
α - &# 945; - Greek lower case alpha
Β - &# 914; - Greek capital Beta
β - &# 946; - Greek lower case beta
Γ - &# 915; - Greek capital Gamma
γ - &# 947; - Greek lower case gamma
Δ - &# 916; - Greek capital Delta
δ - &# 948; - Greek lower case delta
Ε - &# 917; - Greek capital Epsilon
ε - &# 949; - Greek lower case epsilon
Ζ - &# 918; - Greek capital Zeta
ζ - &# 950; - Greek lower case zeta
Η - &# 919; - Greek capital Eta
η - &# 951; - Greek lower case eta
Θ - &# 920; - Greek capital Theta
θ - &# 952; - Greek lower case theta
Ι - &# 921; - Greek capital Iota
ι - &# 953; - Greek lower case iota
Κ - &# 922; - Greek capital Kappa
κ - &# 954; - Greek lower case kappa
Λ - &# 923; - Greek capital Lamda
λ - &# 955; - Greek lower case lamda
Μ - &# 924; - Greek capital Mu
μ - &# 956; - Greek lower case mu
Ν - &# 925; - Greek capital Nu
ν - &# 957; - Greek lower case nu
Ξ - &# 926; - Greek capital Xi
ξ - &# 958; - Greek lower case xi
Ο - &# 927; - Greek capital Omicron
ο - &# 959; - Greek lower case omicron
Π - &# 928; - Greek capital Pi
π - &# 960; - Greek lower case pi
Ρ - &# 929; - Greek capital Rho
ρ - &# 961; - Greek lower case rho
Σ - &# 931; - Greek capital Sigma
σ - &# 963; - Greek lower case sigma
ς - &# 962; - Greek lower case final sigma
Τ - &# 932; - Greek capital Tau
τ - &# 964; - Greek lower case tau
Υ - &# 933; - Greek capital Upsilon
υ - &# 965; - Greek lower case upsilon
Φ - &# 934; - Greek capital Phi
φ - &# 966; - Greek lower case phi
Χ - &# 935; - Greek capital Chi
χ - &# 967; - Greek lower case chi
Ψ - &# 936; - Greek capital Psi
ψ - &# 968; - Greek lower case psi
Ω - &# 937; - Greek capital Omega
ω - &# 969; - Greek lower case omega
No comments:
Post a Comment