g
Printer Friendly Version

editor  
BellaOnline's HTML Editor
 

How to Add Special Characters to Your Website

Adding plain text to your website is easy; just type it in and your browser will render it. But what do you do if you want to add a quote in French and you need accent signs? How about if you want to throw in some extra spaces at one point, or indicate a copyright?

For these special characters, you'll need knowledge of ASCII, otherwise known as American Standard Code for Information Interchange. It's a set of codes that allows you to communicate with your visitor's browser in its own language. ASCII codes exist for all characters, but you'll rarely if ever need to use the codes for basic letters and numbers. I've included them here anyway for the sake of completeness.

ASCII characters are also useful if you want to post sample code on your website. Simply typing in an HTML tag will cause the browser to execute that tag, not display it as written. However, you can trick the browser into displaying the tag instead by using ASCII code for the < > symbols instead of the symbols themselves.

Without further ado, here are the ASCII characters for a number of useful symbols:


ASCII CodeWhat You SeeASCII CodeWhat You SeeASCII CodeWhat You SeeASCII CodeWhat You SeeASCII CodeWhat You See
©!!__Û
®""``žÜ
 ##aaŸÝ
""$$bb Þ
&&%%cc¡ß
<<&&dd¢à
>>''ee£á
À((ff¤â
Á))gg¥ã
Â**hh¦ä
Ã++ii§å
Ä,,jj¨æ
Å--kk©ç
Æ..llªè
Ç//mm«é
È00nn¬ê
É11oo­ë
Ê22pp®ì
Ë33qq¯í
Ì44rr°î
Í55ss±ï
Î66tt²ð
Ï77uu³ñ
Ð88vv´ò
Ñ99wwµó
Õ::xxô
Ö;;yy·õ
Ø<<zz¸ö
Ù=={{¹÷
Ú>>||ºø
Û??}}»ù
Ü@@~~¼ú
ÝAA?½û
ÞBB¾ü
ßCC¿ý
àDDÀþ
áEEƒÁÿ
åFFÂ
æGGÃ
çHHÄ
èIIÅ
éJJˆÆ
êKKÇ
ëLLŠÈ
ìMMÉ
íNNŒÊ?
îOOË
ïPPŽÌ
ðQQÍ
ñRRÎ
òSSÏ
óTTÐ
ôUUÑ
õVVÒ
öWWÓ
øXXÔ
ùYYÕ
úZZ˜Ö
û[[×
ý\\šØ
þ]]Ù
ÿ^^œÚ

This site needs an editor - click to learn more!

HTML Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Elizabeth Connick. All rights reserved.
This content was written by Elizabeth Connick. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor