Saturday 28 September 2013

How to Write Special Characters in a HTML Web page

Special characters are those characters that can be inserted using a HTML code for which you cannot enter them via the keyboard or because of conflicting codes that are used in HTML. For instance, the less than sign is used in HTML to open every HTML tag. So to keep browsers from being confused when it encounters an less than sign (i.e. <) the code used in HTML to represent a less than sign on the web page would be &lt; instead of <. 
Character
HTML Code For the Character
"
&quot;
&
&amp;
< 
&lt;
> 
&gt;
 (empty space)
&nbsp;
¡
&iexcl;
¢
&cent;
£
&pound;
¤
&curren;
¥
&yen;
¦
&brvbar;
§
&sect;
¨
&uml;
©
&copy;
ª
&ordf;
«
&laquo;
¬
&not;
­
&shy;
®
&reg;
¯
&macr;
°
&deg;
±
&plusmn;
²
&sup2;
³
&sup3;
´
&acute;
µ
&micro;
&para;
·
&middot;
¸
&cedil;
¹
&sup1;
º
&ordm;
»
&raquo;
¼
&frac14;
½
&frac12;
¾
&frac34;
¿
&iquest;
À
&Agrave;
Á
&Aacute;
Â
&Acirc;
Ã
&Atilde;
Ä
&Auml;
Å
&Aring;
Æ
&AElig;
Ç
&Ccedil;
È
&Egrave;
É
&Eacute;
Ê
&Ecirc;
Ë
&Euml;
Ì
&Igrave;
Í
&Iacute;
Î
&Icirc;
Ï
&Iuml;
Ð
&ETH;
Ñ
&Ntilde;
Ò
&Ograve;
Ó
&Oacute;
Ô
&Ocirc;
Õ
&Otilde;
Ö
&Ouml;
×
&times;
Ø
&Oslash;
Ù
&Ugrave;
Ú
&Uacute;
Û
&Ucirc;
Ü
&Uuml;
Ý
&Yacute;
Þ
&THORN;
ß
&szlig;
à
&agrave;
á
&aacute;
â
&acirc;
ã
&atilde;
ä
&auml;
å
&aring;
æ
&aelig;
ç
&ccedil;
è
&egrave;
é
&eacute;
ê
&ecirc;
ë
&euml;
ì
&igrave;
í
&iacute;
î
&icirc;
ï
&iuml;
ð
&eth;
ñ
&ntilde;
ò
&ograve;
ó
&oacute;
ô
&ocirc;
õ
&otilde;
ö
&ouml;
÷
&divide;
ø
&oslash;
ù
&ugrave;
ú
&uacute;
û
&ucirc;
ü
&uuml;
ý
&yacute;
þ
&thorn;
ÿ
&yuml;


No comments:

Post a Comment