|
Escape Sequences
Sometimes it is necessary to display special HTML reserved characters
as text. In order to do this you must use an escape sequence. Standard
characters are shown in
Numeric And Special Graphics Sequences and extended characters are in
the table ISO Latin Escape Sequences.
Escape sequences begin with the ampersand character (&), followed by
the sequence, and ending with a semi-colon. If you end the sequence with a
space instead, a space will be inserted after the special character.
Semi-colon does not insert the space.
He was a "big
man" on campus. |
This is how you would insert double quotes. The output
looks as follows:
He was a "big man" on campus.
The special sequences are shown below.
lt |
< |
Less than sign |
< |
gt |
> |
Greater than sign |
> |
amp |
& |
Ampersand |
& |
quot |
" |
Double quote sign |
" |
|
|
|
|
|
® |
|
® |
|
© |
|
© |
|
  |
|
|
|
  |
|
|
A table of the ISO Latin escape sequences is shown below. This is from
the document
Hypertext Markup Language - 2.0, September 22, 1995.
AElig |
Æ |
capital |
Æ |
Aacute |
Á |
capital A, acute accent |
Á |
Acirc |
 |
capital A, circumflex accent |
 |
Agrave |
À |
capital A, grave accent |
À |
Aring |
Å |
capital A, ring |
Å |
Atilde |
à |
capital A, tilde |
à |
Auml |
Ä |
capital A, dieresis or umlaut mark |
Ä |
Ccedil |
Ç |
capital C, cedilla |
Ç |
ETH |
Ð |
capital Eth, Icelandic |
Ð |
Eacute |
É |
capital E, acute accent |
É |
Ecirc |
Ê |
capital E, circumflex accent |
Ê |
Egrave |
È |
capital E, grave accent |
È |
Euml |
Ë |
capital E, dieresis or umlaut mark |
Ë |
Iacute |
Í |
capital I, acute accent |
Í |
Icirc |
Î |
capital I, circumflex accent |
Î |
Igrave |
Ì |
capital I, grave accent |
Ì |
Iuml |
Ï |
capital I, dieresis or umlaut mark |
Ï |
Ntilde |
Ñ |
capital N, tilde |
Ñ |
Oacute |
Ó |
capital O, acute accent |
Ó |
Ocirc |
Ô |
capital O, circumflex accent |
Ô |
Ograve |
Ò |
capital O, grave accent |
Ò |
Oslash |
Ø |
capital O, slash |
Ø |
Otilde |
Õ |
capital O, tilde |
Õ |
Ouml |
Ö |
capital O, dieresis or umlaut mark |
Ö |
THORN |
Þ |
capital THORN, Icelandic |
Þ |
Uacute |
Ú |
capital U, acute accent |
Ú |
Ucirc |
Û |
capital U, circumflex accent |
Û |
Ugrave |
Ù |
capital U, grave accent |
Ù |
Uuml |
Ü |
capital U, dieresis or umlaut mark |
Ü |
Yacute |
Ý |
capital Y, acute accent |
Ý |
aacute |
á |
small a, acute accent |
á |
acirc |
â |
small a, circumflex accent |
â |
aelig |
æ |
small ae diphthong (ligature) |
æ |
agrave |
à |
small a, grave accent |
à |
aring |
å |
small a, ring |
å |
atilde |
ã |
small a, tilde |
ã |
auml |
ä |
small a, dieresis or umlaut mark |
ä |
ccedil |
ç |
small c, cedilla |
ç |
eacute |
é |
small e, acute accent |
é |
ecirc |
ê |
small e, circumflex accent |
ê |
egrave |
è |
small e, grave accent |
è |
eth |
ð |
small eth, Icelandic |
ð |
euml |
ë |
small e, dieresis or umlaut mark |
ë |
iacute |
í |
small i, acute accent |
í |
icirc |
î |
small i, circumflex accent |
î |
igrave |
ì |
small i, grave accent |
ì |
iuml |
ï |
small i, dieresis or umlaut mark |
ï |
ntilde |
ñ |
small n, tilde |
ñ |
oacute |
ó |
small o, acute accent |
ó |
ocirc |
ô |
small o, circumflex accent |
ô |
ograve |
ò |
small o, grave accent |
ò |
oslash |
ø |
small o, slash |
ø |
otilde |
õ |
small o, tilde |
õ |
ouml |
ö |
small o, dieresis or umlaut mark |
ö |
szlig |
ß |
small sharp s, German (sz ligature) |
ß |
thorn |
þ |
small thorn, Icelandic |
þ |
uacute |
ú |
small u, acute accent |
ú |
ucirc |
û |
small u, circumflex accent |
û |
ugrave |
ù |
small u, grave accent |
ù |
uuml |
ü |
small u, dieresis or umlaut mark |
ü |
yacute |
ý |
small y, acute accent |
ý |
yuml |
ÿ |
small y, dieresis or umlaut mark |
ÿ |
|