Special Characters
- If you noticed, in many of the web pages used in this tutorial, we write out tags such as <B>.
- You may ask yourself, how does the web browser know that I want to display the bold tag itself and not make the text next to it bold?
- Well, the answer is that the web browser does not know. I have to tell it.
- Specifically, I use the < to represent the < sign and > sign to represent > sign.
- Consider the following code:
<B&>This text is not going to be bold, but is going to display as the tag itself.&<B&>
<P>
<B>This text is bold however</B>
- When displayed on the web, it would look like this:
<B>This text is not going to be bold, but is going to display as the tag itself.</B>This text is bold however
Some of the special characters have a numeric value as well as a character value. For example, the less than sign can be written either at < or < - There are many such special characters that must be defined with such syntax because there is no way for the web browser to recognize them otherwise.
- The following table goes over the list of special characters.
| Special Character | HTML-Escape Equivalent |
| Unused | � -  |
| Horizontal Tab | 	 |
| Line Feed | |
| Unused |  -  |
| Space |   |
| ! | ! |
| " | " |
| # | # |
| $ | $ |
| % | % |
| & | & |
| ' | ' |
| ( | ( |
| ) | ) |
| * | * |
| + | + |
| , | , |
| - | - |
| . | . |
| / | / |
| 0-9 | 0 - 9 |
| : | : |
| ; | ; |
| < | < |
| = | = |
| > | > |
| ? | ? |
| @ | @ |
| A - Z | A - Z |
| [ | [ |
| \ | \ |
| ] | ] |
| ^ | ^ |
| _ | _ |
| ` | ` |
| a - z | a - z |
| { | { |
| | | | |
| } | } |
| ~ | ~ |
| Unused |  -   |
| ¡ | ¡ |
| ¢ | ¢ |
| £ | £ |
| ¤ | ¤ |
| ¥ | ¥ |
| ¦ | ¦ |
| § | § |
| ¨ | ¨ |
| © | © |
| ª | ª |
| « | « |
| ¬ | ¬ |
| | ­ |
| ® | ® |
| ¯ | ¯ |
| ° | ° |
| ± | ± |
| ² | ² |
| ³ | ³ |
| ´ | ´ |
| µ | µ |
| ¶ | ¶ |
| · | · |
| ¸ | ¸ |
| ¹ | ¹ |
| º | º |
| » | » |
| ¼ | ¼ |
| ½ | ½ |
| ¾ | ¾ |
| ¿ | ¿ |
| À | À |
| Á | Á |
| Â | Â |
| Ã | Ã |
| Ä | Ä |
| Å | Å |
| Æ | Æ |
| Ç | Ç |
| È | È |
| É | É |
| Ê | Ê |
| Ë | Ë |
| Ì | Ì |
| Í | Í |
| Î | Î |
| Ï | Ï |
| Ð | Ð |
| Ñ | Ñ |
| Ò | Ò |
| Ó | Ó |
| Ô | Ô |
| Õ | Õ |
| Ö | Ö |
| × | × |
| Ø | Ø |
| Ù | Ù |
| Ú | Ú |
| Û | Û |
| Ü | Ü |
| Ý | Ý |
| Þ | Þ |
| ß | ß |
| à | à |
| á | á |
| â | â |
| ã | ã |
| ä | ä |
| å | å |
| æ | æ |
| ç | ç |
| è | è |
| é | é |
| ê | ê |
| ë | ë |
| ì | ì |
| í | í |
| î | î |
| ï | ï |
| ð | ð |
| ñ | ñ |
| ò | ò |
| ó | ó |
| ô | ô |
| õ | õ |
| ö | ö |
| ÷ | ÷ |
| ø | ø |
| ù | ù |
| ú | ú |
| û | û |
| ü | ü |
| ý | ý |
| þ | þ |
| ÿ | ÿ |





