HTML Symbol

In HTML, you can use symbols, also known as special characters or entities, to display characters that are not part of the standard character set. Some common symbols codes that are frequently used in HTML include:

Here are some common HTML symbol codes:

  1. &lt; - less than symbol (<)
  2. &gt; - greater than symbol (>)
  3. &amp; - ampersand symbol (&)
  4. &quot; - double quote symbol (")
  5. &apos; - single quote symbol (')
  6. &copy; - copyright symbol (©)
  7. &reg; - registered trademark symbol (®)
  8. &trade; - trademark symbol (<)
  9. &pound; - pound sterling symbol (£)
  10. &yen; - yen symbol (¥)
  11. &cent; - cent symbol (¢)
  12. &#8377; - less than symbol (₹)

You can use these symbol codes in your HTML code to display special characters that are not part of the standard character set.

To use a symbol in HTML, you can simply type its corresponding entity code into your HTML code. Alternatively, you can use the symbol's Unicode value, which is a hexadecimal number that represents the character in the Unicode standard. For example, the Unicode value for the copyright symbol is ©, which can be used in HTML like this:

<p> &copy; 2023 My Company. All rights reserved.</p>

This will display the copyright symbol followed by the year and company name, like this:

© 2023 My Company. All rights reserved.