Special Characters

HTML allows for the insertion of any character defined in the ISO 8859-1 character set, into Web pages. These characters may not always be visible to all browsers, but they are defined as available entities. Table A lists all the special characters with their corresponding HTML code. If you want to put a particular character in your Web page, simply type in the entire string under the "HTML Code" heading. Some of the characters have two possible HTML codes, so simply use one of them. Be sure to include the ampersand (&) before the code, and the semicolon (;) after the code.

Table A.1  HTML Codes for ISO 8859-1 Characters

Description of Character
HTML Code
Example of Character
Quotation mark
"
"
Ampersand
&
&
Less-than sign
<
<
Greater-than sign
&gt;
>
Non-breaking space
&nbsp;
Inverted exclamation mark
&iexcl;
Cent sign
&cent;
Pound sterling
&pound;
General currency sign
&curren;
Yen sign
&yen;
Broken vertical bar
&brvbar;
|
 
or &brkbar;
Section sign
&sect;
Umlaut (dieresis)
&uml; or &die;
Copyright
&copy;
Feminine ordinal
&ordf;
Left angle quote (guillemotleft)
&laquo;
Not sign
&not;
Soft hyphen
&shy;
-
Registered trademark
&reg;
Macron accent
&macr; or &hibar;
Degree sign
&deg;
Plus or minus
&plusmn;
Superscript two
&sup2;
2
superscript three
&sup3;
3
Acute accent
&acute;
Micro sign
&micro;
Paragraph sign
&para;
Middle dot
&middot;
Cedilla
&cedil;
Superscript one
&sup1;
1
Masculine ordinal
&ordm;
Right angle quote (guillemotright)
&raquo;
Fraction one-fourth
&frac14;
1/4
Fraction one-half
&frac12;
1/2
Fraction three-fourths
&frac34;
3/4
Inverted question mark
&iquest;
capital A, grave accent
&Agrave;
Capital A, acute accent
&Aacute;
Capital A, circumflex accent
&Acirc;
Capital A, tilde
&Atilde;
Capital A, umlaut (dieresis)
&Auml;
Capital A, ring
&Aring;
Capital AE, diphthong (ligature)
&Aelig;
Capital C, cedilla
&Ccedil;
Capital E, grave accent
&Egrave;
Capital E, acute accent
&Eacute;
Capital E, circumflex accent
&Ecirc;
Capital E, umlaut (dieresis)
&Euml;
Capital I, grave accent
&Igrave;
Capital I, acute accent
&Iacute;
Capital I, circumflex accent
&Icirc;
Capital I, umlaut (dieresis)
&Iuml;
Capital Eth, Icelandic
&ETH; or &Dstrok;
Capital N, tilde
&Ntilde;
Capital O, grave accent
&Ograve;
Capital O, acute accent
&Oacute;
Capital O, circumflex accent
&Ocirc;
Capital O, tilde
&Otilde;
Capital O, umlaut (dieresis)
&Ouml;
Multiply sign
&times;
x
Capital O, slash
&Oslash;
Capital U, grave accent
&Ugrave;
Capital U, acute accent
&Uacute;
Capital U, circumflex accent
&Ucirc;
Capital U, umlaut (dieresis)
&Uuml;
Capital Y, acute accent
&Yacute;
Y
Capital THORN, Icelandic
&THORN;
Small sharp s, German (sz ligature)
&szlig;
Small a, grave accent
&agrave;
Small a, acute accent
&aacute;
Small a, circumflex accent
&acirc;
Small a, tilde
&atilde;
Small a, umlaut (dieresis)
&auml;
Small a, ring
&aring;
Small ae diphthong (ligature)
&aelig;
Small c, cedilla
&ccedil;
Small e, grave accent
&egrave;
Small e, acute accent
&eacute;
Small e, circumflex accent
&ecirc;
Small e, umlaut (dieresis)
&euml;
'
Small i, grave accent
&igrave;
"
Small i, acute accent
&iacute;
'
Small i, circumflex accent
&icirc;
"
Small i, umlaut (dieresis)
&iuml;
Small eth, Icelandic
&eth;
Small n, tilde
&ntilde;
Small o, grave accent
&ograve;
Small o, acute accent
&oacute;
Small o, circumflex accent
&ocirc;
Small o, tilde
&otilde;
Small o, umlaut (dieresis)
&ouml;
Division sign
&divide;
Small o, slash
&oslash;
Small u, grave accent
&ugrave;
Small u, acute accent
&uacute;
Small u, circumflex accent
&ucirc;
Small u, umlaut (dieresis)
&uuml;
Small y, acute accent
&yacute;
y
Small thorn, Icelandic
&thorn;
Small y, umlaut (dieresis)
&yuml;
 



 
image
image

Hosted by www.Geocities.ws

1