Special Characters

Because HTML uses the <, >, ", & and other symbols in tags, an alternate way was needed to show them on a Web page. The way to include these and other special characters is to use one of the two special character formats:
&#numeric value;      or      &symbolic value;
Some useful examples are:

CharacterNumericSymbolic CharacterNumericSymbolic
<&#60;&lt; >&#62;&gt;
&&#38;&amp; "&#34;&quot;
non-breaking space&#160;&nbsp; ¢&#162;&cent;
£&#163;&pound; ¥&#165;&yen;
®&#174;&reg; ©&#169;&copy;
&#153;&trade; °&#176;&deg;
¼&#188;&frac14; ½&#189;&frac12;
¾&#190;&frac34; ±&#177;&plusmn;
÷&#247;&divide; ×&#215;&times;
ñ&#241;&ntilde; Ñ&#209;&Ntilde;
¡&#161;&iexcl; ¿&#191;&iquest;

The non-breaking space makes it possible to include as many spaces between characters as desired. HTML is designed to compress strings of spaces and carriage returns into a single space, so the non-breaking space special character must be used if more than one space is required.

Special & International characters can be included in your document using this method. To show the maximum number of characters in Internet Explorer and Safari, you must turn on full international character support in the Regional Settings section of the Control Panel.


Next Lesson Next Page

HTML Home