Symbols


Symbols

A standard keyboard lacks HTML symbols such as mathematical operators, arrows, technical symbols, and shapes. The HTML entity name can be used to add these symbols to an HTML page. If no entity name is available, the entity number might be used instead. You can use a decimal (or hexadecimal) reference if the character doesn't have an entity name.

Some characters in HTML are reserved; when they are used in an HTML document, they have a specific meaning. For example, if you used the less than or more significant sign in your HTML content, the browser will treat them differently. For example, in HTML, the word '<' is already reserved. This character is sometimes required to appear on the web page, resulting in uncertainty in the code. Along with them, some characters aren't found on a standard keyboard (£, €, etc.), for example.

Example No.1:

<html> <body> <p>Knowledge2life &euro;</p> </body> </html>

OUTPUT:

Knowledge2life €

Example No.2:

<html> <body> <p>Knowledge2life &#915;</p> <p>Knowledge2life &#916;</p> <p>Knowledge2life &#169;</p> <p>Knowledge2life &#9827;</p> </body> </html>

OUTPUT:

Knowledge2life Γ

Knowledge2life Δ

Knowledge2life ©

Knowledge2life ♣