Last updated on December 17th, 2023
What is an HTML symbol?
HTML contains a rich library of symbols that can be written in the HTML code by their names or by numbers. Symbols in HTML are also called “entities”.
The syntax for writing a symbol with a name is: &entity_name;
(ampersand – name – semicolon).
The syntax for writing a character with numbers is: &#entity_number;
(ampersand – number sign – number – semicolon)
For example, one of the most used symbols is the Copyright symbol, which is the letter c enclosed in a circle: ©.
The letter code of the Copyright symbol is ©
The numeric code of the Copyright symbol is ©
I.e. for the copyright symbol to appear on your page, you need to write the following code:
<!DOCTYPE html> <html> <head> <title> Test </title> </head> <body> © Copyright </body> </html>
List of commonly used HTML symbols
© – Copyright Symbol
Entity Name: ©
Entity Number: ©
® – Registered Trademark Symbol
Entity Name: ®
Entity Number: ®
™ – Trademark Symbol
Entity Name: ™
Entity Number: ™
§ – Section Sign Symbol
Entity Name: §
Entity Number: §
Non-Breaking Empty Space
Entity Name:
Entity Number:  
What is the Non-Breaking Space in HTML?
In situations where you want to keep two words or characters together and prevent them from being separated by a line break, you can use (or  ). This is particularly useful for items that should stay on the same line, such as names, like this: John Doe. You can also use it if you just need to leave a blank space in front of an element or between two elements.
More examples of HTML symbols
♠ – ♠ – Spade
♣ – ♣ – Club
♥ – ♥ – Heart
♦ – ♦ – Diamond
☎ – ☎ – Phone
☀ – ☀ – Sun
☑ – ☑ – Checkbox
☛ – ☛ – Right Pointing
☠ – ☠ – Skull and Crossbones
☯ – ☯ – Yin Yang
♿ – ♿ – Wheelchair
⚽ – ⚽ – Soccer Ball
✈ – ✈ – Airplane
∞ – ∞ – Infinity
☕ – ☕ – Hot beverage
💰 – 💰 – Money bag
🌻 – 🌻 – Sunflower
😜 – 😜 – Face with Stuck-Out Tongue and Winking Eye