|
About the Internet About Web Browsers Why Domain Names HTML vs XHTML Making Webpage Files Naming Webpage Files About HTML Tags Basic HTML Page DTDs and Doctype Tags Spaces and New Lines Special Characters Bold, Italics, More Writing Headlines Adding Links Making Lists Comments in HTML How to Add Images Sources of Images Image File Formats Optimizing Images Color in HTML & CSS "Web-safe" Color Chart Making Tables Formatting with Tables Making Forms Using Imagemaps Using Frames Meta Tags Intro to CSS Ways to include CSS Some Useful CSS CSS Hover for Links Promoting Your Site How-To's Homepage Links |
Special CharactersIf you want to force certain characters to show up, you will need to use escape codes instead of those characters. Escape code is just a programming term for replacing characters that a program uses in a special way with something else. All of these codes start with an & and end with a ; between these characters is either a short mnemonic indicating what the character is or a number code starting with #. The mnemonics are easier to remember, but some of them only work in certain browsers. The number codes will work when the mnemonics don't.
You have to use < and > in every tag when you make a web page, but only occasionally (if ever) in the text of a page unless it is about mathematics or how to do HTML. So the tags get to use the simple < & > characters and if you want to show the characters in your page text you will have to type the codes. Codes for other special characters, such as ¢ £ ¥ ®
© ½ ° ± á ç è ñ ö
÷ û ²etc. can be found at these sites: |


