- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML Symbols
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>
Output
- Related Articles
- Can variables have symbols in it like the percentage symbols %?
- What are JavaScript symbols?
- Add currency symbols in Excel
- Electrical Components and Their Symbols
- Change date formatting symbols in Java
- Standard errno system symbols in Python
- What are Elements, Compounds and Symbols?
- Explain the removal of useless symbols
- How to use unicode symbols in matplotlib?
- Plotting scatter points with clover symbols in Matplotlib
- What are the special symbols in C language?
- Retrieve from MySQL only if it contains two hyphen symbols?
- Eliminate epsilon, unit and useless symbols and rewrite into CNF
- $g=frac{GM}{R^2}$, what does these symbols denote?
- How to place customized legend symbols on a plot using Matplotlib?

Advertisements