Information Sheet 5
Special Characters in HTML
o Language contains a variety of special characters that you can need to use particularly. If you plan to present
material in a language other than English. You can include Special Characters in HTML code by using
special tags called entities or entity reference.
o Unlike the tags you’velearned about so far, special characters aren’t neatly tucked into paired brackets (<>);
instead they always begin an ampersand (&) and ends with semicolon (;).
Characters HTML Code Meaning
& & -Ampersand
< < -Less than
> > -Greater than
á á -Lower case a with acute
accent
à à -Lower case a with graveaccent
â â -Lower case a with circumflex
ä ä -Lower case with umlaut
å å -Lower case with ring
ç ç -Lower case c with cedilla
ñ ñ -Lower case n with tilde
ø ø -Lower case o with slash
ß ß -Lower case sharp s symbol
¢ ¢ -Cent
£ £ -Pound
¥ ¥ -Yen
§ § -Section
© © -Copyright sign
® ® -Registered
¼ &frac 14; -Fraction number one-quarter
½ ½ -fraction number one-half
¾ ¾ - fraction number three-quarter
° ° -degree
¶ ¶ -pilcrow (paragraph)
¤ ¤ -generalcurrency
Some currency symbols
Char Dec Hex Name
₠ ₠ A0; EURO CURRENCY SIGN
₡ ₡ A1; COLON SIGN
₢ ₢ A2; CRUZEIRO SIGN
₣ ₣ A3; FRENCH FRANC
₤ ₤ A4; LIRA SIGN
₨ ₨ A8; RUPEE SIGN
₩ ₩ A9; WON SIGN
₫ ₫ AB; DONG SIGN
€ € AC; EURO SIGN
₭ ₭ AD; KIP SIGN
₮ ₮ AE; TUGRIK SIGN
₱ ₱ B1; PESO SIGN
₳ ₳ B3; AUSTRAL SIGN
$ $ $ DOLLAR SIGN
French/German/Spanish or Italian
aacute á aeiou
agrave à aeiou
asircimplex â aeiou
Some with emoji smileys
CHAR DEC HEX NAME
😁 F601; GRINNINGWITH SMILING EYES
😂 F602; FACE WITH TEARS OF JOY
SMILING FACE WITH OPEN
😃 F603; MOUTH
😇 F607; SMILING FACE WITH HALO
😉 F609; WINKING FACE
😷 F637 FACE WITH FACE MASK
Sample Program:
<html><head><title>SPECIAL
CHARACTERS</title></head>
<body>
The following are formatted with <b7>for
boldface and <i> for italics.<br>
<b>Gibt es einCafé in der
Nähe?</b><br>
<i>Is there a Café nearby</i><br>
<b> Je voudrais un dîner.</b><br>
<i> I want to eat dinner.</i><br>
<b> Y una mesa por mañana for favor.</b><br>
<i>And a table for tomorrow ,please.</i><br>
<b>Oh! C’èunaspecialistàlocale?</b><br>
<i>Oh! Is there a local specialty? </i></body></html>
Example;
1. Resumé
2. Señorita
3. Sauté
4. Máter (máter) <Latin> mother
5. Après moi (ä-pre mwä’) <French> after me
6. Quiénsa’be?(kyensä’be?) <Spanish> who knows?
7. DéJàvu <French>
8. Cøpenhagen <German>
Sample Program
<html>
<body>
<span style='font-size:100px;'>😷</span>
<p>each for €45 </p>
<p>each for ₱150 </p>
</body>
</html>