HTML Symbols


HTML Symbols refer to special characters or icons that are commonly used in web pages to represent things like arrows, mathematical symbols, currency signs, and other icons that aren't part of the standard keyboard characters.

You use HTML entities or Unicode to display these symbols in HTML.


🔹 How to Use HTML Symbols

You can add symbols using:

  • Named entities: e.g., ♥ for ♥

  • Numeric entities: e.g., ♥ for ♥

  • Hexadecimal entities: e.g., ♥ for ♥


💻 Common HTML Symbols and Their Codes

Symbol Name Named Entity Decimal Code Hex Code
Heart ♥ ♥ ♥
Right Arrow → → →
Left Arrow ← ← ←
Up Arrow ↑ ↑ ↑
Down Arrow ↓ ↓ ↓
Trademark ™ ™ ™
£ Pound Sterling £ £ £
¥ Yen ¥ ¥ ¥
§ Section § § §
Paragraph ¶ ¶ ¶

💻 Example: Using HTML Symbols in HTML

<p>I &hearts; coding!</p>
<p>Go to the next page &rarr;</p>
<p>Trademark symbol: &trade;</p>
<p>Currency symbols: &pound;, &yen;</p>
<p>Use arrows: &larr; &uarr; &darr;</p>

Practice Questions

Q1. Write HTML to display a heart symbol.

Q2. Use the right arrow symbol to indicate navigation.

Q3. Display the trademark symbol after a brand name.

Q4. Show currency symbols like Pound and Yen in a price list.

Q5. Use up, down, left, and right arrows in a navigation menu.

Q6. Write HTML to display paragraph (§) and section (§) symbols.

Q7. Display the copyright symbol along with trademark symbols.

Q8. Use numeric codes to display the yen and pound symbols.

Q9. Create a list with multiple HTML symbols used as bullet points.

Q10. Combine arrows and symbols to design a simple navigation hint.


Go Back Top