How to use Greek letters in HTML pages

How to use Greek letters in HTML pages

Greek letters are a very commonly used series of symbols, especially in scientific and technological fields such as mathematics and physics, where they are often used to represent constants or variables with specific meanings. There are two ways to use Greek in web pages. One is to use the form of "&str", that is, add a prefix "&" to the corresponding string, and then you can output the corresponding Greek letter in the web page. This string is the English string corresponding to the Greek letter:

Uppercase Greek letters

HTML Characters

Lowercase Greek letters

Lowercase Greek characters

Alpha

Α

α

α

Β

Β

β

β

Γ

Γ

γ

γ

Δ

Δ

δ

δ

Ε

Ε

ε

ε

Ζ

ζ

ζ

Η

Η

η

η

Θ

Θ

θ

θ

Ι

Ι

ι

ι

K

Κ

κ

κ

Λ

Λ

λ

λ

Μ

Μ

μ

μ

N

Ν

ν

ν

Ξ

Ξ

ξ

ξ

Ο

Ο

ο

ο

Π

Π

π

π

P

Ρ

ρ

ρ

Σ

Σ

σ

σ

Τ

Τ

τ

τ

Υ

Υ

υ

υ

Φ

Φ

φ

φ

Χ

Χ

χ

χ

Ψ

Ψ

ψ

ψ

Ω

Ω

ω

ω

Another way is to use Unicode characters to represent Greek characters. In the Unicode code table, Greek letters and Coptic letters are placed together:

Unicode

0

1

2

3

4

5

6

7

8

9

A

B

C

D

E

F

\u037

Ͱ

ͱ

Ͳ

ͳ

ʹ

͵

Ͷ

ͷ

͸

͹

ͺ

ͻ

ͼ

ͽ

;

Ϳ

\u038

΀

΁

΂

΃

΄

΅

Ά

·

Έ

Ή

Ί

΋

Ό

΍

Ύ

Ώ

\u039

ΐ

Alpha

Β

Γ

Δ

Ε

Η

Θ

Ι

K

Λ

Μ

N

Ξ

Ο

\u03A

Π

P

΢

Σ

Τ

Υ

Φ

Χ

Ψ

Ω

Ϊ

Ϋ

ά

έ

ή

ί

\u03B

ΰ

α

β

γ

δ

ε

ζ

η

θ

ι

κ

λ

μ

ν

ξ

ο

\u03C

π

ρ

ς

σ

τ

υ

φ

χ

ψ

ω

ϊ

ϋ

ό

ύ

ώ

Ϗ

\u03D

ϐ

ϑ

ϒ

ϓ

ϔ

ϕ

ϖ

ϗ

Ϙ

ϙ

Ϛ

ϛ

Ϝ

ϝ

Ϟ

ϟ

\u03E

Ϡ

ϡ

Ϣ

ϣ

Ϥ

ϥ

Ϧ

ϧ

Ϩ

ϩ

Ϫ

ϫ

Ϭ

ϭ

Ϯ

ϯ

\u03F

ϰ

ϱ

ϲ

ϳ

ϴ

ϵ

϶

Ϸ

ϸ

Ϲ

Ϻ

ϻ

ϼ

Ͻ

Ͼ

Ͽ

You can directly use the 4-digit hexadecimal Unicode code of the Greek letter to represent it, and fill the fourth digit with the corresponding hexadecimal value in the column above. If the corresponding site is displayed as a rectangular box, it means that there is no corresponding supporting software on the computer, so it cannot be displayed correctly. It may also be that the corresponding site is originally empty.

<<:  Introduction to HTML Chinese Character Encoding Standard

>>:  Summary of Mathematical Symbols in Unicode

Recommend

Vue element implements table adding, deleting and modifying data

This article shares the specific code of vue elem...

MySQL database operation and maintenance data recovery method

The previous three articles introduced common bac...

Import CSS files using judgment conditions

Solution 1: Use conditional import in HTML docume...

7 skills that web designers must have

Web design is both a science and an art. Web desi...

Do you know the weird things in Javascript?

Our veteran predecessors have written countless c...

The front-end must know how to lazy load images (three methods)

Table of contents 1. What is lazy loading? 2. Imp...

Tutorial on installing MySQL 5.7.18 using RPM package

system: CentOS 7 RPM packages: mysql-community-cl...

Mysql query the most recent record of the sql statement (optimization)

The worst option is to sort the results by time a...

Baidu Input Method opens API, claims it can be ported and used at will

The relevant person in charge of Baidu Input Metho...

How to configure Jupyter notebook in Docker container

Jupyter notebook is configured under the docker c...

Several ways of running in the background of Linux (summary)

1. nohup Run the program in a way that ignores th...

Why the CSS attribute value clear:right does not work in detail

Using the clear property to clear floats is a comm...