|
At A Glance:
-Intro to the Internet
-The Hypertext Markup Language
-Designing a Web Page
-Lists and Links
-Adding Graphics
-Multimedia on the Web
-Tables for Data and Design
-Frames
-Forms and Scripting
-Creating Good HTML |
|
Special Characters
There are a number of special characters that you may need to
use in your Web page, especially if you design a scientific or
mathematical Web page. In a word processor, you can simply insert
these characters, but in HTML you must specify the characters
with the use of escape code, or escape character. An escape
character tells the browser that what comes next should be interpreted
and displayed as a special character. The escape character in
HTML is the ampersand sign (&). At the end of the escape
code put a semicolon (;) to let the browser know that it has reached
the end of the code. Table 3.1 shows a list of special characters
used in foreign language. Table 3.2 shows special characters
that are used in math, science, or business authoring. Since
HTML makes use of the less than sign, greater than sign, ampersand,
and quote, the first four codes in table 3.2 show you how to make
the browser display these characters.
Table 3.1 Special character HTML codes for foreign language characters
| HTML code | Appears As |
Description |
| Æ | Æ | capital AE diphthong (ligature)
|
| Á | Á |
capital A, acute accent |
| Â | Â | capital A, circumflex accent
|
| À | À |
capital A, grave accent |
| Å | Å | capital A, ring
|
| Ã | Ã |
capital A, tilde |
| Ä | Ä | capital A, dieresis or umlaut
|
| Ç | Ç |
capital C, cedilla |
| É | É |
capital E, acute accent |
| Ê | Ê | capital E, circumflex accent
|
| È | È |
capital E, grave accent |
| Ë | Ë | capital E, dieresis or umlaut
|
| Í | Í |
capital I, acute accent |
| Î | Î | capital I, circumflex accent
|
| Ì | Ì |
capital I, grave accent |
| Ï | Ï | capital I, dieresis or umlaut
|
| Ñ | Ñ |
capital N, tilde |
| Ó | Ó |
capital O, acute accent |
| Ô | Ô | capital O, circumflex accent
|
| &Ograce; | Ò |
capital O, grave accent |
| Ø | Ø |
capital O, slash |
| Õ | Õ |
capital O, tilde |
| Ö | Ö | capital O, dieresis or umlaut
|
| Ú | Ú |
capital U, acute accent |
| Û | Û | capital U, circumflex accent
|
| Ù | Ù |
capital U, grave accent |
| Ü | Ü | capital U, dieresis or umlaut
|
| Ý | Ý |
capital Y, acute accent |
| á | á |
small a, acute accent |
| â | â | small a, circumflex accent
|
| æ | æ | small ae diphthong (ligature)
|
| à | à |
small a, grave accent |
| å | å | small a, ring
|
| ã | ã |
small a, tilde |
| ä | ä | small a, dieresis or umlaut
|
| ç | ç |
small c, cedilla |
| é | é |
small e, acute accent |
| ê | ê | small e, circumflex accent
|
| è | è |
small e, grave accent |
| ë | ë | small e, dieresis or umlaut
|
| í | í |
small i, acute accent |
| î | î | small i, circumflex accent
|
| ì | ì |
small i, grave accent |
| ï | ï | small i, dieresis or umlaut
|
| ñ | ñ |
small n, tilde |
| ó | ó |
small o, acute accent |
| ô | ô | small o, circumflex accent
|
| ò | ò |
small o, grave accent |
| ø | ø |
small o, slash |
| õ | õ |
small o, tilde |
| ö | ö | small o, dieresis or umlaut
|
| ß | ß | small sharp s, German (sz ligature)
|
| ú | ú |
small u, acute accent |
| û | û | small u, circumflex accent
|
| ù | ù |
small u, grave accent |
| ü | ü | small u, dieresis or umlaut
|
| ý | ý |
small y, acute accent |
| ÿ | ÿ | small y, dieresis or umlaut
|
Table 3.2 Special characters
| HTML code | Appears As |
Description |
| < | < | less than sign
|
| > | > | greater than sign
|
| & | & | ampersand
|
| " | " | double quote
|
| ´ | ´ | acute accent
|
| ¦ | | | broken vertical bar
|
| ¸ | ¸ | cedilla
|
| ¢ | ¢ | cent sign
|
| © | © | copyright symbol
|
| ° | ° | degree symbol
|
| ÷ | ÷ | division sign
|
| ½ | ½ | fraction one-half
|
| ¼ | ¼ | fraction one-fourth
|
| ¾ | ¾ | fraction three-fourths
|
| ¡ | ¡ | inverted exclamation
|
| ¿ | ¿ | inverted question mark
|
| « | « | left angle quote
|
| ¯ | ¯ | macron accent
|
| µ | µ | micro sign
|
| · | · | middle dot
|
| | | non-breaking space
|
| ¬ | ¬ | not sign
|
| ª | ª | feminine ordinal
|
| º | º | masculine ordinal
|
| ¶ | ¶ | paragraph sign
|
| ± | ± | plus or minus
|
| £ | £ | pound sterling
|
| » | » | right angle quote
|
| ® | ® | registered trademark symbol
|
| § | § | section sign
|
| ­ | - | soft hyphen
|
| ¹ | 1 |
superscript one |
| ² | 2 |
superscript two |
| ³ | 3 |
superscript three |
| × | × | multiply sign
|
| ¨ | ¨ | umlaut
|
| ¥ | ¥ | yen sign
|
|