The HTML Symbols refers to many physics, mathematical, technical and currency symbols which are not present on a normal keyboard. Therefore, to set such symbols to web page, we use HTML entity name. If no entity name exists then you can use entity number which is a decimal or a hexadecimal reference.
Syntax
Following is the syntax −
&entityName;
Or
&#entityHexcode;
Or
&#entityHexadecimalcode;
Let us see an example of HTML Symbols:
Example
<!DOCTYPE html> <html> <style> body { color: #000; height: 100vh; background-color: #8BC6EC; background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%); text-align: center; } </style> <body> <h1>HTML Symbols Demo</h1> <p>Some Mathematical Symbols</p> <p>>∀ -- for all symbol</p> <p>∇ -- nabla symbol</p> <p>∅ -- empty sets symbol</p> <p>∃ -- there exists symbol</p> <p>Some Greek Symbols</p> <p>γ -- gamma symbol</p> <p>δ -- delta symbol</p> <p>ε -- epsilon symbol</p> <p>α -- alpha symbol</p> </body> </html>