Sections:
Special Character Codes
Color Codes (Hexadecimal Equivilants)
While you can create a great page using HTML tags alone, there is a lot more you can do with HTML, should you know how. For example, what are those special character codes? How do you get different colors?
Getting characters that the browser normally doesn't display to show up is really very easy. Just plug in the character's code where you want the character to show up. For example, if you wanted to show a paragraph tag like this: < p >, simple type in this: < p > on your web page (spaces added for clarity, you can leave them out if you like). The < and > are the codes you would use to get the less than (<) and the greater than (>) symbols to show up
Below is a table of symbols that you will need to use the code for. Some of these symbols are normally not displayed by the browser, but most are just not available on the keyboard, like the copyright symbol. Some of the more commonly used symbols have a second code, one that incorporates the real name of the symbol, such as the greater than sign, whose code is >, in addition to >.
| Character | Character's name | Code to use |
|
|
Less than sign |
|
|
|
Greater than sign |
|
|
|
Ampersand |
|
Copyright |
| Division | ||
| Mulitplication | ||
| Registered Trademark |
Whether you want to set your text color, background color, or link color, you need to use a color's hexadecimal equivilant, or its number and letter code. While some new browsers have a list of about 16 colors that they will recognize and display if the color's real name is used, not all browsers support this, and there may be a color you want that isn't supported. You simply type in the color's code were you want to specify. For example, to set the font color to red, you would use this code: <FONT COLOR="#FF0000">. Here is a table of many colors that you may want to use on your page:
Note: All "0"'s in the table are zeros (not the letter O).
| Color Name | Color Sample | Code |
| White |   | #FFFFFF |
| Light Gray |   | #C0C0C0 |
| Medium Gray |   | #808080 |
| Dark Gray |   | #404040 |
| Black |   | #000000 |
| Red |   | #FF0000 |
| Blue |   | #0000FF |
| Yellow |   | #FFFF00 |
| Green |   | #008000 |
| Purple |   | #800080 |
| Orange |   | #FF8000 |
| Cyan |   | #00FFFF |
| Dark Blue |   | #000080 |
| Dark Red |   | #800000 |
| Pink |   | #FF8080 |
All of these colors and their codes were produced using NetColorz32, and free program from PolyVision Software. This program is a very handy tool to have, and it's very easy to use.