HTML Symbols - Detailed Overview

Introduction to HTML Symbols

HTML symbols are special characters that can be used in HTML documents. They include mathematical symbols, currency signs, and various other special characters that are not easily typed on a keyboard.

Common HTML Symbols

Here are some commonly used HTML symbols along with their HTML entity codes:

Symbol HTML Entity Description
© © © (Copyright)
® ® ® (Registered Trademark)
€ € € (Euro)
¥ ¥ ¥ (Yen)
$ $ $ (Dollar)
&lt; &lt; < (Less Than)
&gt; &gt; > (Greater Than)

Examples

Here are some examples of HTML symbols used in context:

<p>The copyright symbol is &copy; 2024 ShariqSP.</p>

The copyright symbol is © 2024 ShariqSP.

<p>The euro symbol is &euro; and the yen symbol is &yen;.</p>

The euro symbol is € and the yen symbol is ¥.

Using Symbol Entities in HTML

To use a symbol entity in HTML, simply include its HTML entity code in your HTML document. For example:

<p>The mathematical symbol for less than or equal to is &le;.</p>

The mathematical symbol for less than or equal to is ≤.