HTML Symbols: A Complete Guide to Using Symbols in HTML
HTML symbols are special characters that can be displayed on a web page using their actual character, a named HTML entity, a decimal numeric reference, or a hexadecimal numeric reference. They are useful when a character has a special meaning in HTML or when you want to display symbols that are difficult to type directly.
For example, the less-than sign < is part of HTML syntax. If you want to display the actual < character as text on a web page, you should normally write < in the HTML source.
HTML symbols are commonly used for mathematical signs, currency symbols, arrows, punctuation marks, copyright symbols, trademark symbols, Greek letters, technical characters, and many other Unicode characters.
What Are HTML Symbols?
An HTML symbol is a character that can be represented in HTML through a character reference or entity.
For example:
<p>© 2026 Example Website</p>
The browser displays:
© 2026 Example Website
Another example is:
<p>5 < 10</p>
The browser displays:
5 < 10
HTML symbols are especially important when the character itself could be interpreted as HTML markup.
Why Are HTML Symbols Needed?
Modern HTML supports Unicode, so many characters can be placed directly into an HTML document. For example:
<p>Price: ₹500</p>
<p>Temperature: 25°C</p>
<p>Copyright © 2026</p>
This works when the document is correctly encoded, normally with UTF-8.
However, character references remain useful for several reasons:
- Some characters have special meanings in HTML.
- Some symbols are difficult to type.
- Entity names can make source code easier to understand.
- Numeric references can represent a very large range of Unicode characters.
- They are useful when working with characters that may otherwise be interpreted as markup.
HTML Character References
HTML character references are special sequences that represent characters.
There are three common forms:
- Named character references
- Decimal numeric character references
- Hexadecimal numeric character references
Named Character References
A named reference uses an entity name between & and ;.
Example:
©
Output:
©
Other examples include:
®
™
€
<
>
&
They produce:
® ™ € < > &
Named references are often easier for humans to read.
Decimal Numeric References
A decimal numeric character reference uses the Unicode code point as a decimal number.
The format is:
&#number;
For example:
©
produces:
©
Another example:
☃
produces:
☃
Decimal references are useful when you know the Unicode code point but do not know an entity name.
Hexadecimal Numeric References
A hexadecimal numeric reference uses the Unicode code point in hexadecimal form.
The format is:
&#xnumber;
For example:
©
produces:
©
Another example:
★
produces:
★
The x indicates that the number is hexadecimal.
Named vs Decimal vs Hexadecimal References
The same symbol can often be represented in different ways.
For example, the copyright symbol can be written as:
©
or:
©
or:
©
All three display:
©
The named version is usually easiest to understand, while numeric references are useful when an entity name is unavailable or unknown.
Common HTML Symbols
Here are some frequently used symbols.
| Symbol | Named Reference | Decimal | Hexadecimal |
|---|---|---|---|
| & | & | & | & |
| < | < | < | < |
| > | > | > | > |
| “ | " | " | " |
| © | © | © | © |
| ® | ® | ® | ® |
| ™ | ™ | ™ | ™ |
| € | € | € | € |
| £ | £ | £ | £ |
| ¥ | ¥ | ¥ | ¥ |
| § | § | § | § |
| ° | ° | ° | ° |
| ± | ± | ± | ± |
| × | × | × | × |
| ÷ | ÷ | ÷ | ÷ |
| ≠ | ≠ | ≠ | ≠ |
| ≤ | ≤ | ≤ | ≤ |
| ≥ | ≥ | ≥ | ≥ |
| ∞ | ∞ | ∞ | ∞ |
| √ | √ | √ | √ |
The Most Important HTML Symbols
Some HTML character references are particularly important because the corresponding characters can affect how HTML is parsed.
Ampersand
The ampersand is represented by:
&
It displays:
&
The ampersand is important because HTML character references begin with &.
For example:
<p>Tom & Jerry</p>
Output:
Tom & Jerry
Less-Than Sign
Use:
<
to display:
<
For example:
<p>5 < 10</p>
Output:
5 < 10
Greater-Than Sign
Use:
>
to display:
For example:
<p>10 > 5</p>
Output:
10 > 5
Double Quotation Mark
The named reference is:
"
It produces:
“
This is particularly useful in HTML attribute values.
Example:
<input value="He said "Hello"">
Non-Breaking Space
The non-breaking space can be written as:
It creates a space that normally prevents a line break at that location.
Example:
<p>Hello World</p>
However, should not be used repeatedly to create page layouts. CSS should be used for spacing and layout.
HTML Currency Symbols
HTML can display many currency symbols.
Examples include:
<p>₹500</p>
<p>$100</p>
<p>€100</p>
<p>£100</p>
<p>¥1000</p>
Common currency symbols include:
| Symbol | Meaning |
|---|---|
| ₹ | Indian rupee |
| $ | Dollar |
| € | Euro |
| £ | Pound sterling |
| ¥ | Yen/Yuan |
| ₩ | Korean won |
| ₽ | Russian ruble |
| ₿ | Bitcoin symbol |
Modern Unicode makes it possible to use many of these characters directly in UTF-8 HTML.
Mathematical Symbols in HTML
HTML pages frequently contain mathematical expressions.
Common symbols include:
+ − × ÷ = ≠ < > ≤ ≥ ± √ ∞
Examples:
<p>10 × 5 = 50</p>
<p>x ≥ 10</p>
<p>x ≠ 0</p>
The browser displays:
10 × 5 = 50
x ≥ 10
x ≠ 0
For complex mathematical notation, MathML may be more appropriate than manually inserting individual symbols.
Greek Letters in HTML
Greek letters are widely used in mathematics, science, engineering, and statistics.
Examples include:
| Symbol | Entity |
|---|---|
| α | α |
| β | β |
| γ | γ |
| δ | δ |
| ε | ε |
| θ | θ |
| λ | λ |
| μ | μ |
| π | π |
| σ | σ |
| φ | φ |
| Ω | Ω |
Example:
<p>The value of π is approximately 3.14159.</p>
Output:
The value of π is approximately 3.14159.
Arrows in HTML
Arrows are useful in navigation, instructions, diagrams, and user interfaces.
Common arrow symbols include:
← → ↑ ↓
↔ ↕
⇒ ⇐
➜
Some have named HTML references, while others are most conveniently represented directly as Unicode characters or with numeric references.
For example:
<p>← Back</p>
<p>Next →</p>
Output:
← Back
Next →
Copyright, Trademark, and Legal Symbols
These symbols are commonly used on websites.
Copyright
©
Output:
©
Example:
<footer>© 2026 My Website</footer>
Registered Trademark
®
Output:
®
Trademark
™
Output:
™
These symbols can be useful in business websites, product pages, legal notices, and website footers.
HTML Punctuation Symbols
HTML supports many punctuation characters.
Examples include:
© ® ™ § ¶
« » “ ” ‘ ’
– — …
They can be represented using direct Unicode characters or suitable character references.
For example:
<p>“Knowledge is power.”</p>
Output:
“Knowledge is power.”
HTML Fractions
Common fraction symbols include:
½ ⅓ ¼ ¾ ⅔
For example:
<p>½ cup of water</p>
You can also use numeric references when appropriate.
Fractions are often useful in recipes, measurements, educational content, and technical documentation.
HTML Superscript and Subscript Symbols
Some superscript and subscript characters exist as Unicode characters.
Examples include:
¹ ² ³
₁ ₂ ₃
However, when you need semantic superscript or subscript formatting, HTML elements are usually better:
<p>x<sup>2</sup></p>
<p>H<sub>2</sub>O</p>
Output:
x²
H₂O
This is preferable when the text represents actual mathematical or scientific notation.
HTML Emoji and Unicode Symbols
Emoji are Unicode characters and can normally be included directly in HTML.
Example:
<p>Hello 😊</p>
<p>Congratulations 🎉</p>
<p>Thank you ❤️</p>
With UTF-8 encoding, modern browsers can display these characters correctly.
The HTML document should normally include:
<meta charset="UTF-8">
UTF-8 supports a very large range of writing systems, symbols, and emoji.
HTML Symbols and UTF-8
UTF-8 is extremely important when working with symbols.
A modern HTML document should normally specify UTF-8:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Symbols</title>
</head>
<body>
<p>© 2026</p>
<p>₹500</p>
<p>Hello 😊</p>
</body>
</html>
The character encoding tells the browser how the bytes in the document should be interpreted as characters.
Without correct encoding, symbols may appear incorrectly.
Direct Unicode Characters vs HTML Entities
You do not always need an HTML entity.
For example, these may display the same result:
<p>© 2026</p>
and:
<p>© 2026</p>
Both display:
© 2026
The direct Unicode character is often simpler when your editor and document encoding are reliable.
An entity can sometimes make the HTML source clearer, especially for characters with special meaning in markup.
When Should You Use HTML Entities?
Use character references when:
- The character has a special meaning in HTML.
- The character could be confused with markup.
- You want a readable representation in source code.
- The character is difficult to type.
- You need a specific Unicode character.
- You are working with older code or systems that expect entities.
For example, this is important:
<p>3 < 5</p>
instead of:
<p>3 < 5</p>
The first version clearly tells HTML that the less-than sign is text.
HTML Symbols in Attributes
Character references can also appear inside attribute values.
Example:
<input value="Tom & Jerry">
The displayed value is:
Tom & Jerry
Another example:
<div title="5 < 10">Example</div>
The tooltip text represents:
5 < 10
Always be careful with quotes and special characters in attributes.
HTML Symbols and Accessibility
A symbol is not automatically meaningful to every user or assistive technology.
For important information, do not depend only on a visual symbol.
For example, instead of communicating an error only through:
<p>❌</p>
consider providing meaningful text:
<p>❌ Payment failed. Please try again.</p>
Likewise, an arrow icon should not be the only indication of navigation if the meaning can be expressed with text.
Symbols should support communication rather than replace essential information.
HTML Symbols and SEO
HTML symbols themselves are not a major SEO ranking factor.
Search engines can generally process Unicode text and character references. What matters more is whether your content is useful, readable, accessible, and semantically structured.
For example:
<h2>Price: ₹500</h2>
is perfectly reasonable.
Avoid filling content with decorative symbols simply to make it look attractive. Excessive symbols can reduce readability and make a page look unnatural.
HTML Symbols and CSS
HTML symbols are content. CSS should generally control their appearance.
For example:
<p class="price">₹500</p>
CSS can then control the font size, weight, spacing, and other visual properties.
Avoid using HTML entities simply to create large amounts of visual spacing. Use CSS for layout.
For example, instead of:
Hello World
use CSS when the goal is visual positioning.
HTML Symbols vs HTML Icons
A symbol is not necessarily an icon.
For example:
©
→
°
€
are characters.
An icon may be an SVG, an image, a CSS-generated graphic, or an icon-font glyph.
For important user-interface controls, accessible text and appropriate semantic HTML are often more important than the particular visual icon.
HTML Symbols and Security
Special characters become especially important when HTML content comes from users or external sources.
For example, displaying user-provided text directly as HTML can create security problems if it contains executable markup.
Escaping HTML-special characters such as:
&
<
>
"
'
is an important part of safely handling untrusted content.
For dynamic websites, use the escaping or sanitization mechanisms provided by your programming language or framework rather than manually replacing characters in every situation.
Common Mistakes When Using HTML Symbols
Mistake 1: Forgetting the Semicolon
A character reference is normally written with a terminating semicolon:
©
rather than:
©
Using the complete form is clearer and safer.
Mistake 2: Writing < Directly as Text
If you want to display a less-than sign in HTML text, use:
<
Mistake 3: Using for Layout
Non-breaking spaces are not a replacement for CSS.
Use CSS for:
- margins
- padding
- alignment
- positioning
- layout
- responsive spacing
Mistake 4: Missing UTF-8
If your page contains international characters, symbols, or emoji, make sure the document uses an appropriate character encoding, normally UTF-8.
Mistake 5: Using Symbols Without Meaningful Text
A decorative symbol should not replace important information.
For example, a button showing only:
→
may not clearly communicate its purpose to every user.
A label such as:
Next →
can be much clearer.
HTML Symbol Reference Examples
Here are useful examples:
<p>Copyright © 2026</p>
<p>Registered ® trademark</p>
<p>Brand ™</p>
<p>5 < 10</p>
<p>10 > 5</p>
<p>Tom & Jerry</p>
<p>Price: €50</p>
<p>Temperature: 25°C</p>
<p>10 × 10 = 100</p>
<p>100 ÷ 4 = 25</p>
<p>x ≠ 0</p>
<p>x ≥ 10</p>
<p>∞</p>
<p>π ≈ 3.14159</p>
<p>← Back</p>
<p>Next →</p>
HTML Symbols Cheat Sheet
| Category | Examples |
|---|---|
| HTML syntax | & < > " |
| Copyright | © |
| Trademark | ™ |
| Registered | ® |
| Currency | ₹ $ € £ ¥ |
| Mathematics | ± × ÷ ≤ ≥ ≠ |
| Greek | α β π Ω |
| Arrows | ← → ↑ ↓ |
| Punctuation | … – — “ ” |
| Fractions | ½ ⅓ ¼ ¾ |
| Degree | ° |
| Infinity | ∞ |
| Emoji | 😀 ❤️ 🎉 |
How Browsers Handle HTML Symbols
When a browser encounters a character reference such as:
©
it interprets the reference and displays the corresponding character:
©
The reference itself normally does not appear on the rendered page.
The browser therefore treats:
<p>© 2026</p>
as text containing the copyright character.
Are HTML Symbols the Same as HTML Entities?
The terms are often used interchangeably, but technically there is a useful distinction.
An HTML entity is traditionally associated with a named entity such as:
©
The broader modern concept is a character reference, which can be named, decimal, or hexadecimal.
Therefore:
©is a named character reference.©is a decimal numeric character reference.©is a hexadecimal numeric character reference.
All represent the same Unicode character.
HTML Symbols and Unicode
Unicode is the underlying character standard that gives characters unique code points.
For example:
©
has the Unicode code point:
U+00A9
The same character can therefore be represented in HTML as:
©
or:
©
or:
©
or:
©
Understanding Unicode makes it much easier to work with international text and symbols.
Frequently Asked Questions
What are HTML symbols?
HTML symbols are special characters that can be represented in HTML using direct Unicode characters or character references such as named, decimal, and hexadecimal references.
What is the HTML entity for copyright?
The named character reference is:
©
It displays:
©
How do I display < in HTML?
Use:
<
This displays:
<
How do I display > in HTML?
Use:
>
This displays:
How do I display an ampersand?
Use:
&
This displays:
&
Can I use emoji directly in HTML?
Yes. Modern HTML documents using UTF-8 can normally contain emoji directly.
Example:
<p>Welcome 😊</p>
Do I need HTML entities for every symbol?
No. UTF-8 allows you to use a huge range of Unicode characters directly. Character references are particularly useful for special HTML characters, difficult-to-type characters, or cases where an explicit reference improves source-code clarity.
What is the difference between © and ©?
Both represent the copyright symbol.
© uses decimal notation.
© uses hexadecimal notation.
Is good for spacing?
It can create a non-breaking space, but it should not normally be used as a substitute for CSS layout and spacing.
Are HTML symbols good for SEO?
Symbols themselves do not provide a major SEO advantage. Use them naturally and focus on useful content, semantic HTML, accessibility, performance, and good user experience.
Best Practices for HTML Symbols
Follow these practices when working with symbols:
- Use UTF-8 for modern HTML documents.
- Use
<when displaying a less-than sign in HTML text. - Use
>when displaying a greater-than sign where appropriate. - Escape ampersands when they are part of text and could begin a character reference.
- Use named references when they make the source easier to understand.
- Use numeric references when you know the Unicode code point.
- Use CSS instead of
for page layout. - Do not use symbols as the only way to communicate important information.
- Consider accessibility when using icons and decorative characters.
- Keep symbols relevant and natural.
- Test unusual Unicode characters across browsers and devices.
- Use semantic HTML for mathematical and scientific content when appropriate.
- Avoid excessive decorative symbols that make content difficult to read.
- Properly escape untrusted content before inserting it into HTML.
Conclusion
HTML symbols provide a simple way to include special characters, mathematical signs, currencies, arrows, punctuation, legal marks, Greek letters, Unicode characters, and many other symbols in web pages.
Modern HTML and UTF-8 make it possible to use many symbols directly. Character references are still essential for characters that have special meaning in HTML, especially characters such as &, <, and >.
The most important references to remember are:
& <!-- & -->
< <!-- < -->
> <!-- > -->
" <!-- " -->
<!-- non-breaking space -->
© <!-- © -->
® <!-- ® -->
™ <!-- ™ -->
For everyday web development, the best approach is simple: use Unicode naturally, use character references where they improve correctness or clarity, use CSS for layout, and always consider accessibility when symbols carry meaning.
Quick Reference
© → ©
® → ®
™ → ™
& → &
< → <
> → >
" → "
€ → €
£ → £
¥ → ¥
° → °
± → ±
× → ×
÷ → ÷
∞ → ∞
≤ → ≤
≥ → ≥
≠ → ≠
π → π
← → ←
→ → →
HTML symbols may look small, but they are an important part of writing accurate, readable, accessible, and standards-friendly web content.