HTML Symbols | HTML ascii symbol
Symbolsthatarenotpresentonyourkeyboardcanalsobeaddedbyusingentities.HTMLSymbolEntitiesHTMLentitiesweredescribedinthepreviouschapter.Manymathematical,technical,andcurrencysymbols,arenotpresentonanormalkeyboard.ToaddsuchsymbolstoanHTMLpage,youcanusetheentitynameortheentitynumber(adecimalorahexadecimalreference)forthesymbol.ExampleDisplaytheeurosign,€,withanentityname,adecimal,andahexadecimalvalue:
Iwilldisplay€
Iwilldisplay€
Iwilld...
Symbols that are not present on your keyboard can also be added by using entities.
HTML Symbol EntitiesHTML entities were described in the previous chapter.
Many mathematical, technical, and currency symbols, are not present on a normal keyboard.
To add such symbols to an HTML page, you can use the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol.
ExampleDisplay the euro sign, €, with an entity name, a decimal, and a hexadecimal value:
<p>I will display €</p><p>I will display €</p><p>I will display €</p>
Will display as:I will display €I will display €I will display €
Try it Yourself »[1] Some Mathematical Symbols Supported by HTML Char Number Entity Description Try it ∀ ∀ ∀ FOR ALL Try it »[2] ∂ ∂ ∂ PARTIAL DIFFERENTIAL Try it »[3] ∃ ∃ &...