HTML Symbols

Learn via video course
FREE
View all courses
JavaScript Course With Certification: Unlocking the Power of JavaScript
JavaScript Course With Certification: Unlocking the Power of JavaScript
by Mrinal Bhattacharya
1000
4.8
Start Learning
JavaScript Course With Certification: Unlocking the Power of JavaScript
JavaScript Course With Certification: Unlocking the Power of JavaScript
by Mrinal Bhattacharya
1000
4.8
Start Learning
Topics Covered

HTML symbol entities are the secret codes for special characters on websites. They use names or numbers, starting with "&" and ending with ";", to represent the symbols that are not easily typed on keyboards. By using these entity names or numbers within HTML code, users can incorporate symbols like math symbols, currency signs, and Greek letters. This article explores the significance of HTML Symbol Entities in web development, serving as codes that facilitate the display of special characters, and provides a comprehensive list of entities along with the importance of their contextual use.

HTML Symbol Entities

Html symbols are like special codes that help us show certain characters on websites. Sometimes, these characters are reserved, and if we just type them, they might get mixed up with the code of the webpage. So, HTML Symbol Entities use special entity codes starting with "&" and ending with ";". They help us display symbols that are not easy to type on a regular keyboard, like math symbols, currency signs, or Greek letters.

These codes act like a mediator, allowing us to include different characters in our web content without any confusion and these entities can represent symbols and have names or numbers. The Entity names look like this: &entity_name; and entity numbers look like this: &#entity_number;. Both methods can accomplish this, although names are generally more memorable as compared to numbers. So, when we want to include these special characters in our HTML, we use these entity codes to make sure everything displays correctly.

image showing html entity symbol

For example, If we want to use the less than sign (<), we replace it with &lt;, and if we want to use the greater than sign (>), we replace it with &gt;.

These replacements are necessary because if we just use < or > in our text, the web browser might get confused and mix them up with HTML tags.

Similarly, &frac14; gives us ¼, to add the copyright symbol (©) in HTML, we use &copy;. Some symbols, like mathematical or currency symbols, aren't on regular keyboards, so we use HTML entity names to add them to a webpage. If there's no entity name, we can use an entity number in decimal or hexadecimal format. In the following sections, we will explore a compilation of HTML entities accompanied by illustrative examples.

image showing html entity types

How to Use HTML Entities?

To make effective use of html symbols we need to take care of a few of the things that we will discuss in this section. When using entity names, we have to ensure that they begin with an ampersand (&) and conclude with a semicolon (;) symbol.

If you opt for the HTML code, start with an ampersand (&) and a hash (#), and end with a semicolon (;). In certain situations, the browser may not recognize entity names accurately, making it advisable to choose the HTML code for a more reliable implementation.

Let's delve deeper into the importance and usage of html symbols:

  1. Contextual Replacements:
    When dealing with characters like < or >, which have special meanings in HTML, it's crucial to use entities for proper rendering. For instance, replace < with &lt; and > with &gt;.

    These contextual replacements are particularly important when including code snippets or displaying the raw HTML content to ensure accurate rendering without unintended HTML tag interpretation.

  2. Avoiding Confusion with Tags:
    The reason behind these replacements is to prevent confusion between reserved characters and HTML tags. Directly using < or > might lead to misinterpretation by web browsers.

    By adhering to this practice, you ensure that your HTML code is interpreted correctly, especially in scenarios where code snippets are embedded within HTML content.

  3. Entity Structure:
    Entities are recognizable by their distinct structure, commencing with an ampersand (&) and concluding with a semicolon (;) symbol. Entity names follow the pattern &entity_name;, while entity numbers adopt the format &#entity_number;.

  4. Preference for Names:
    Choosing entity names over numbers is often preferred due to their memorability. For example, names, such as &copy;, are easier to recall as compared to numbers and enhance the readability of your HTML code.

  5. Versatility of Entities:
    HTML entities act as conduits for incorporating symbols not readily available on standard keyboards. For instance, &frac14; produces ¼, and for the copyright symbol (©), we rely on &copy;.

    These entities provide a standardized way to represent symbols, ensuring consistency across different browsers and platforms.

  6. Mathematical and Currency Symbols:
    In the vast realm of symbols, especially mathematical and currency ones, HTML entity names come to the rescue. These symbols, absent on regular keyboards, seamlessly integrate into web content using the entity names.

    These entities allow you to seamlessly integrate specialized symbols into your web content, enhancing its clarity and precision.

  7. Fallback to Entity Numbers:
    In cases where entity names are unavailable, resort to entity numbers in either decimal or hexadecimal format. This fallback ensures that even the most unique symbols find a place on your webpage.

    This fallback ensures that even if certain entity names are not supported, your webpage can still accurately display the unique symbols.

Example

Input:

Output:

In this HTML example, special mathematical symbols are encoded using HTML entities to ensure proper rendering and clarity. "For all x, y ∈ real numbers" is represented as "∀x, y ∈ ℝ" using HTML entities. Here, stands for "for all", signifies "is an element of", and "" represents the set of real numbers.

"There exists a z such that z = x + y" is encoded as "∃z : z = x + y". In this case, represents "there exists", and ":" separates the condition from the expression.

Input:

Output:

In this HTML example, the paragraph contains a comparison statement and its corresponding HTML representation. The text says, "5 is greater than 3: 5 > 3".

The expression "5 > 3" is used to denote "5 is greater than 3" in HTML. Here, ">" is the HTML entity for the greater-than symbol (>). It is employed to ensure that the browser interprets it correctly as a mathematical inequality, preventing any confusion with HTML tags.

When rendered, the HTML output displays the original text with the symbol ">" replaced by the actual greater-than symbol (>). The output reads, "5 is greater than 3: 5 > 3".

Input:

Output:

In this HTML example, the paragraph contains product cost information in different currencies along with their corresponding HTML representation. The text says, "Product cost: $99.95, €89.50, ¥1000".

The original text includes currency symbols for US dollars ($), euros (), and Japanese yen (¥), each followed by their respective amounts. The HTML output remains unchanged as the text is straightforward and doesn't involve any reserved characters or symbols that require special encoding.

When rendered, the HTML output displays the product cost information exactly as provided in the original text: "Product cost: $99.95, €89.50, ¥1000".

Input:

Output:

In this HTML example, the paragraph contains information about the Greek letter Omega and its representation using HTML entities. The text says, "The Greek letter Omega is represented as Ω"

The original text includes the Greek letter Omega, denoted as Ω. In this case, the HTML entity Ω is used to represent the Greek letter Omega.

The HTML output renders the representation correctly, displaying the Greek letter Omega (Ω) in place of the entity &Omega;.

Input:

Output:

In this HTML example, the paragraph poses a question related to playing cards and includes a special character, the spade symbol ().

The special character "" represents the spade symbol, commonly associated with playing cards. The HTML code correctly includes the spade symbol directly within the paragraph. The HTML output renders the paragraph with the question and includes the spade symbol (), creating a visual representation of a playing card suit.

Input:

Output:

In this HTML example, the paragraph discusses HTML tags for paragraphs and includes the actual HTML representation of the opening and closing paragraph tags.

The text within the paragraph states that <p> and </p> are HTML tags for paragraphs. The HTML code uses HTML entities ("<" and ">") to represent the less-than ("<") and greater-than (">") symbols, respectively. This is done to display the tags as plain text without being interpreted as HTML markup.

The HTML output renders the paragraph with the textual representation of the opening tag <p> and the closing tag </p> without interpreting them as actual HTML tags.

Input:

Output:

output of above html code

The provided HTML code creates a basic web page titled "Fruit Icons". It consists of a heading ("Fruit Icons") and three paragraphs, each displaying a different fruit icon. The fruit icons are represented using Unicode characters for an apple (🍎), a banana (🍌), and a cherry (🍒). These Unicode characters are enclosed in the <b> (bold) HTML tag to enhance their visual presentation. When viewed in a web browser, the page will show the specified title and the associated fruit icons, providing a simple and visually appealing representation of fruits using emoji-like symbols.

Input:

Output:

In this HTML example, the paragraph calculates the diameter of a circle using the formula 2πr, where π (π) is the mathematical constant. The usage of the π symbol requires special encoding using the HTML entity π.

The HTML output displays the paragraph with the π symbol correctly represented using the HTML entity &pi;, ensuring the accurate rendering of the mathematical constant.

Input:

Output:

In this HTML example, the paragraph mentions an exam score of 95%. While the percentage symbol (%) is commonly used and may not require special encoding, it is represented here as an HTML entity (%).

The HTML output displays the paragraph with the percentage symbol (%) included, demonstrating the usage of HTML entities for symbols even when they may not strictly need special encoding.

Input:

Output:

In this HTML example, the paragraph mentions a meeting scheduled for 10:00 AM and includes a calendar emoji (📅). The Unicode character for the emoji is represented using the HTML entity &#x1F4C5;.

The HTML output displays the paragraph with the calendar emoji (📅) correctly represented, illustrating the use of HTML entities for special characters and symbols, including emojis.

Input:

Output:

In this HTML example, the paragraph uses emoji-like symbols to express emotions. The Unicode characters for a smiling face and a crying face are represented using their respective HTML entities. This demonstrates how HTML entities can be utilized for incorporating emoticons into web content.

Input:

Output:

In this HTML example, the paragraph provides a weather forecast using weather-related symbols. The Unicode characters for a cloud, an umbrella with rain, and a sun are represented using their respective HTML entities. This showcases the use of HTML entities for incorporating symbolic elements into content.

Input:

Output:

In this HTML example, the paragraph contains an email address (support@example.com). The "@" symbol is included using the HTML entity &#64;.

The HTML output displays the paragraph with the email address, showcasing the use of HTML entities for the "@" symbol.

Input:

Output:

In this HTML example, the paragraph includes a quotation ("Let's go to the park".) and these quotation marks are encoded using the HTML entity &quot;.

Input:

Output:

output of example showing use of html entities for representing special characters within url

In this HTML example, the paragraph contains a hyperlink with a JavaScript-based URL. The single quotation marks around the JavaScript code are encoded using the HTML entity &#39;.

The HTML output displays the link in Markdown format, indicating the use of HTML entities for representing special characters within URLs.

Input:

Output:

The JavaScript code dynamically updates the content of an HTML element with the id "output" to display the user-generated content "I ❤ JavaScript!". The heart symbol is represented using the HTML entity &hearts; to ensure proper rendering.

This example shows how html symbols play a crucial role in dynamic content rendering through JavaScript. When manipulating the DOM (Document Object Model) using JavaScript, special characters need to be accurately represented. For instance, dynamically updating a webpage with user-generated content containing symbols requires careful use of HTML entities to prevent unintended interpretations.

Input:

Output:

The HTML code includes a heart symbol represented by the HTML entity &#10084;. The aria-label attribute provides an accessible label for screen readers, ensuring users with visual impairments receive accurate information about the symbol.

Here, html symbols play a crucial role in providing an inclusive experience for users relying on screen readers. Properly encoded symbols ensure that screen readers pronounce and interpret content accurately, enhancing the accessibility for individuals with visual impairments.

Input:

Output:

This example illustrates the use of HTML entities to represent Japanese characters. The provided numeric character references (&#...;) ensure proper rendering of the Japanese greeting "こんにちは!" even in environments with different character encodings.

This shows how html symbols aid in representing characters from various languages and scripts for websites catering to a global audience, multilingual support is paramount ensuring that content is displayed correctly across different locales.

Input:

The encodeHTML function is used to encode user input before rendering it on the webpage. This prevents the execution of malicious scripts that might be embedded in the user input, enhancing security.

Here, html symbols are integral in mitigating security risks such as Cross-Site Scripting (XSS). By encoding user-generated content before displaying it on a webpage, the risk of malicious script injection is significantly reduced.

Input:

Output:

In this example, HTML entities (&#10003;) are used to represent checkmarks. This creates a visually appealing list with custom-styled bullet points, enhancing the presentation of tasks. Whether it's using symbols as decorative elements or creating unique bullet points, HTML entities provide flexibility in design.

HTML symbols play a pivotal role in adding decorative icons and symbols to web content. From arrows and stars to emojis, these entities enable developers to incorporate visually engaging elements. Let's see an example of the same:

Input:

Output:

image showing output of decorative icons and symbols using html entities

In this example, html symbols are used to add decorative icons to buttons. These symbols enhance the visual appeal of the buttons and provide a creative touch. Using HTML Symbol Entities ensures that these symbols are displayed consistently across different browsers.

Input:

Output:

image showing output of user interface enhancements using html entities

Developers often use HTML Symbol Entities to enhance the user interface and provide clear visual cues. Here, the checkmark symbol (&#10003;) and bullet point (&#9679;) serve as effective indicators for checkboxes and radio buttons, respectively.

In this example, HTML Symbol Entities are employed to enhance the user interface of checkboxes and radio buttons. The checkmark symbol () is used for indicating agreement with terms and conditions, while the bullet point symbol () serves as an indicator for different radio button options. These symbols provide clear visual cues and improve the overall user experience.

Input:

Output: image showing output of stylish navigation with symbolic elements using html entities

In this example, HTML Symbol Entities are used to create visually appealing navigation elements. Symbols such as a house (), star (), gear (), and an envelope () add a distinctive touch to each link. This enhances the overall aesthetics of the navigation and provides intuitive visual cues for different sections.

In this navigation menu, symbols such as a house (&#8962;), star (&#9737;), gear (&#127910;), and an envelope (&#9993;) add a distinctive touch to each link, making the navigation visually appealing and intuitive.

Input:

Output:

In this JavaScript snippet, the apple symbol (&#127822;) is dynamically added to each list item representing different fruits. This dynamic insertion of symbols enhances the visual appeal of the list.

Here, html symbols are dynamically inserted into a list based on user actions. The apple symbol () is dynamically added to each list item representing different fruits. This dynamic insertion of symbols enhances the visual appeal of the list. It showcases how HTML Symbol Entities can be used in conjunction with JavaScript for dynamic content manipulation.

Input:

Output:

The provided HTML code demonstrates the usage of various HTML entities for special characters. In the output, you can see how each entity is rendered on a web page. For instance, &copy; displays the copyright symbol, while &reg; shows the registered trademark symbol. The &nbsp; entity creates a non-breaking space, preventing line breaks between words. Section symbols, currency symbols (such as Euro, Pound, and Yen), and different quotation marks are also illustrated. Additionally, em dash (&mdash;) and en dash (&ndash;) are showcased for representing different types of dashes. The entire HTML document provides a visual representation of these entities and their corresponding characters when viewed in a web browser.

Input:

Output:

In this example, we are seeing the application of &lt; and &gt; entities to represent angle brackets within HTML code. In the subsequent hyperlink, the &amp; entity is utilized to display an ampersand in the email address. The second paragraph showcases the use of &quot; and &apos; entities for representing double and single quotes, respectively.

A <pre> block is then used to maintain whitespace while displaying a code snippet containing entities. Furthermore, the example incorporates &#8364; to present the Euro symbol and &cent; for displaying cents. This HTML code, when viewed in a web browser, accurately renders the special characters and entities, demonstrating their essential role in proper HTML representation.

Input:

Output:

The HTML document titled "Famous HTML Entities" showcases a variety of well-known HTML entities to represent special characters and symbols. Each list item in the unordered list (<ul>) introduces a different entity and provides a practical example of its usage. Notable entities include &copy; for the copyright symbol, &trade; for the trademark symbol, and &reg; for the registered trademark symbol.

Additionally, the example incorporates graphical entities such as &#9773; for the hamburger menu icon, &#9733; for a star used in a rating, and &#10084; for a heart symbol. Emoticons and symbols are also featured, such as &#128515; for a smiling face and &#9888; for a warning sign. The document concludes with examples of entities representing a writing hand (&#9997;) and a laptop icon (&#128197;).

This example shows how entities play a crucial role in accurately rendering a diverse set of characters and symbols within web content. When viewed in a browser, the output effectively displays these entities in their intended visual representations.

Input:

Output:

The example shows Greek symbols to illustrate mathematical expressions. The first paragraph introduces the concept of calculating the area of a circle using the Greek letter Pi (&Pi;) and the square root symbol (&#8730;). The second paragraph introduces the Greek letter Theta (&theta;), representing an angle, and utilizes the tangent function with the inverse tangent (tan⁻¹) to express an angle in a right-angled triangle.

This example showcases Greek symbols in mathematical expressions and when rendered in a web browser, the output visually represents these mathematical concepts with accurate Greek symbol representation.

Mathematical Symbols Supported by HTML

Arithmetic Symbols:

CharNumberEntityDescription
+&#43;&plus;Plus
-&#8722;&minus;Minus
×&#215;&times;Multiplication
÷&#247;&divide;Division
=&#61;&equals;Equals
&#8800;&ne;Not Equal To
±&#177;&plusmn;Plus-Minus
&#8723;&mnplus;Minus-Plus

Set Theory Symbols:

CharNumberEntityDescription
&#8709;&empty;Empty Set
&#8712;&isin;Element Of
&#8713;&notin;Not an Element Of
&#8715;&ni;Contains as Member
&#8716;&notni;Does Not Contain as Member
&#8717;&plusdo;Plus Sign in Left Half Circle

Logical Operators:

CharNumberEntityDescription
&#8743;&and;Logical AND
&#8744;&or;Logical OR
¬&#172;&not;NOT

Inequality Symbols:

CharNumberEntityDescription
>&#62;&gt;Greater Than
<&#60;&lt;Less Than
&#8805;&ge;Greater Than or Equal To
&#8804;&le;Less Than or Equal To
&#8807;&gE;Greater Than or Equal To (variant)
&#8806;&lE;Less Than or Equal To (variant)
&#8811;&gnE;Greater Than and Not Equal To
&#8810;&lnE;Less Than and Not Equal To
&#8819;&Gt;Greater Than (variant)
&#8818;&Lt;Less Than (variant)
&#8815;&ngt;Not Greater Than
&#8814;&nlt;Not Less Than
&#8819;&nge;Not Greater Than or Equal To
&#8816;&nle;Not Less Than or Equal To
&#8815;&gsim;Greater Than Similar
&#8822;&gl;Greater Than or Less Than
&#8823;&lg;Less Than or Greater Than
&#8820;&ntlg;Not Less Than and Greater Than
&#8821;&ntgl;Not Greater Than and Less Than

Mathematical Symbols:

CharNumberEntityDescription
&#8704;&forall;For All
&#8706;&part;Partial Differential
&#8707;&exist;There Exists
&#8711;&nabla;Nabla
&#8719;&prod;N-ary Product
&#8721;&sum;N-ary Summation
&#8730;&radic;Square Root
&#8734;&infin;Infinity
&#8736;&ang;Angle
&#8737;&angmsd;Measured Angle
&#8738;&angsph;Spherical Angle
&#8735;&angrt;Right-Pointing Angle Bracket
&#8739;&mid;Divides
&#8740;&nmid;Does Not Divide
&#8741;&parallel;Parallel To
&#8742;&npar;Not Parallel To
&#8745;&cap;Intersection
&#8746;&cup;Union
&#8747;&int;Integral
&#8748;&Int;Double Integral
&#8749;&iiint;Triple Integral
&#8758;&ratio;Colon
&#8756;&there4;Therefore
&#8757;&because;Because
&#8759;&Proportion;Double Colon
&#8760;&napprox;Not Almost Equal To
&#8764;&sim;Tilde
&#8761;&bsim;Reverse Tilde
&#8766;&ac;Inverted Lazy S
&#8800;&wr;Wreath Product
&#8785;&nsim;Not Equivalent To
&#8762;&esim;Equals Sign and Tilde
&#8771;&cong;Approximately Equal To
&#8780;&ncong;Not Almost Equal To
&#8773;&asymp;Almost Equal To
&#8778;&nap;Not Almost Equal To with Dot
&#8781;&bcong;Reverse Almost Equal
&#8776;&sime;Asymptotically Equal To
&#8779;&nsime;Not Asymptotically Equal To
&#8782;&ap;Almost Equal or Equal To
&#8783;&bap;Reverse Almost Equal or Equal To
&#8788;&approxeq;Almost Equal To with Circumflex Accent
&#8789;&apid;Almost Equal or Identical To
&#8790;&bump;Geometrically Equivalent to
&#8791;&Dot;Difference between
&#8792;&doteq;Approaches the Limit
&#8793;&fallingdotseq;Approximately Equal or Image of
&#8794;&risingdotseq;Image of or Approximately Equal To
&#8795;&coloneq;Colon Equals
&#8796;&eqcolon;Equals Colon
&#8797;&eqcirc;Ring in Equal to
&#8798;&circeq;Ring Equal To
&#8799;&arceq;Arc Equal
&#8800;&wedgeq;Corresponds to
&#8801;&veeeq;Equivalent to
&#8802;&trie;Not Identical To
&#8803;&equest;Identical To
&#8804;&trieq;Strictly Equivalent To
&#8805;&peq;Equivalence
&#8814;&napprox;Not Almost Equal To
&#8815;&napprox;Not Almost Equal To
&#8801;&ne;Not Identical To
&#8802;&equiv;Identical To

Miscellaneous Mathematical Symbols:

CharNumberEntityDescription
&#8719;&prod;N-ary Product
&#8721;&sum;N-ary Summation
&#8706;&part;Partial Differential
&#8709;&empty;Empty Set
&#8711;&nabla;Nabla

Geometric Symbols:

CharNumberEntityDescription
&#8736;&ang;Angle
&#8737;&angmsd;Measured Angle
&#8738;&angsph;Spherical Angle
&#8735;&angrt;Right-Pointing Angle Bracket

Others:

CharNumberEntityDescription
&#8730;&radic;Square Root
&#8734;&infin;Infinity
°&#176;&deg;Degree

Greek Letters Supported by HTML

CharNumberEntityDescription
Α&#913;&Alpha;GREEK ALPHA
Β&#914;&Beta;GREEK BETA
Γ&#915;&Gamma;GREEK GAMMA
Δ&#916;&Delta;GREEK DELTA
Ε&#917;&Epsilon;GREEK EPSILON
Ζ&#918;&Zeta;GREEK ZETA
Η&#919;&Eta;GREEK ETA
Θ&#920;&Theta;GREEK THETA
Ι&#921;&Iota;GREEK IOTA
Κ&#922;&Kappa;GREEK KAPPA
Λ&#923;&Lambda;GREEK LAMBDA
Μ&#924;&Mu;GREEK MU
Ν&#925;&Nu;GREEK NU
Ξ&#926;&Xi;GREEK XI
Ο&#927;&Omicron;GREEK OMICRON
Π&#928;&Pi;GREEK PI
Ρ&#929;&Rho;GREEK RHO
Σ&#931;&Sigma;GREEK SIGMA
Τ&#932;&Tau;GREEK TAU
Υ&#933;&Upsilon;GREEK UPSILON
Φ&#934;&Phi;GREEK PHI
Χ&#935;&Chi;GREEK CHI
Ψ&#936;&Psi;GREEK PSI
Ω&#937;&Omega;GREEK OMEGA
α&#945;&alpha;SMALL LETTER ALPHA
β&#946;&beta;SMALL LETTER BETA
γ&#947;&gamma;SMALL LETTER GAMMA
δ&#948;&delta;SMALL LETTER DELTA
ε&#949;&epsilon;SMALL LETTER EPSILON
ζ&#950;&zeta;SMALL LETTER ZETA
η&#951;&eta;SMALL LETTER ETA
θ&#952;&theta;SMALL LETTER THETA
ι&#953;&iota;SMALL LETTER IOTA
κ&#954;&kappa;SMALL LETTER KAPPA
λ&#955;&lambda;SMALL LETTER LAMBDA
μ&#956;&mu;SMALL LETTER MU
ν&#957;&nu;SMALL LETTER NU
ξ&#958;&xi;SMALL LETTER XI
ο&#959;&omicron;SMALL LETTER OMICRON
π&#960;&pi;SMALL LETTER PI
ρ&#961;&rho;SMALL LETTER RHO
ς&#962;&sigmaf;SMALL LETTER FINAL SIGMA
σ&#963;&sigma;SMALL LETTER SIGMA
τ&#964;&tau;SMALL LETTER TAU
υ&#965;&upsilon;SMALL LETTER UPSILON
φ&#966;&phi;SMALL LETTER PHI
χ&#967;&chi;SMALL LETTER CHI
ψ&#968;&psi;SMALL LETTER PSI
ω&#969;&omega;SMALL LETTER OMEGA
ϑ&#977;&thetasym;GREEK THETA SYMBOL
ϒ&#978;&upsih;GREEK UPSILON WITH HOOK SYMBOL
ϰ&#1008;&varkappa;GREEK KAPPA SYMBOL
ϖ&#982;&piv;GREEK PI SYMBOL
ϲ&#1010;&coppa;GREEK SMALL LETTER ARCHAIC SAMPI
ϳ&#1011;&jopf;MATHEMATICAL DOUBLE-STRUCK SMALL J
Ͼ&#1022;&gammad;GREEK CAPITAL LETTER KOPPA
Ͽ&#1023;&gimel;GREEK CAPITAL LETTER SAMPI

Currency Symbols Supported by HTML

CharNumberEntityDescription
$&#36;&dollar;Dollar Sign
¢&#162;&cent;Cent Sign
&#8364;&euro;Euro Sign
£&#163;&pound;Pound Sign
¥&#165;&yen;Yen Sign
&#8358;&Naira;Naira Sign
&#8360;&rupee;Rupee Sign
&#8377;&IndianRupee;Indian Rupee Sign
&#2546;&BengaliRupeeMark;Bengali Rupee Mark
&#2547;&BengaliRupeeSign;Bengali Rupee Sign
&#8378;&TurkishLira;Turkish Lira Sign
&#8383;&Bitcoin;Bitcoin Sign
$&#36;&curren;Generic Currency Sign
$&#36;&brvbar;Broken Bar (Separation between two currencies)
CAD&#36;&caddollar;Canadian Dollar Sign
AUD&#36;&dollar;Australian Dollar Sign
&#8381;&ruble;Russian Ruble Sign
฿&#3647;&baht;Thai Baht Sign

Other Miscellaneous Entities Supported by HTML

CharNumberEntityDescription
©&#169;&copy;COPYRIGHT SIGN
®&#174;&reg;REGISTERED SIGN
&#8364;&euro;EURO SIGN
&#8482;&trade;TRADEMARK
&#8592;&larr;LEFTWARDS ARROW
&#8593;&uarr;UPWARDS ARROW
&#8594;&rarr;RIGHTWARDS ARROW
&#8595;&darr;DOWNWARDS ARROW
&#9824;&spades;BLACK SPADE SUIT
&#9827;&clubs;BLACK CLUB SUIT
&#9829;&hearts;BLACK HEART SUIT
&#9830;&diams;BLACK DIAMOND SUIT
&#9828;&sclubs;WHITE SPADE SUIT
&#9831;&sclubs;WHITE CLUB SUIT
&#9825;&shearts;WHITE HEART SUIT
&#9832;&sdiams;WHITE DIAMOND SUIT
&#9728;&sun;BLACK SUN WITH RAYS
&#9729;&cloud;CLOUD
&#9730;&umb;UMBRELLA
&#9731;&snowman;SNOWMAN
&#9733;&starf;BLACK STAR
&#9734;&star;WHITE STAR
&#9732;&comet;COMET
&#9735;&lightning;LIGHTNING
&#9736;&thunder;THUNDERSTORM
&#9737;&sun;SUN
&#9738;&mercury;MERCURY
&#9739;&venus;VENUS
&#9740;&earth;EARTH
&#9741;&mars;MARS
&#9742;&phone;BLACK TELEPHONE
&#9743;&telrec;TELEPHONE RECORDER
&#9744;&boxu;BALLOT BOX
&#9745;&boxul;BALLOT BOX WITH CHECK
&#9746;&boxur;BALLOT BOX WITH X
&#9747;&boxdr;BALLOT BOX WITH X
&#9748;&umb;UMBRELLA WITH RAIN DROPS
&#9749;&mug;HOT BEVERAGE
&#9750;&dsol;WHITE SHOGI PIECE
&#9751;&sol;BLACK SHOGI PIECE
&#9752;&puncsp;SHAMROCK
&#9753;&quill;REVERSED ROTATED FLORAL HEART BULLET
&#9754;&leftm;LEFTWARDS BULLET

Conclusion

  • HTML entities are essential for avoiding ambiguity between the reserved characters and HTML tags.
  • Using entity names or numbers in HTML helps display symbols not readily available on keyboards.
  • Incorporating symbols using HTML entities ensures proper rendering across different browsers.
  • Awareness of HTML entities is crucial for web developers to handle special characters effectively.
  • The use of entity names or numbers in HTML is instrumental in displaying symbols that may not be readily available on standard keyboards, enhancing the richness and diversity of content.