ASCII Codes

 

ASCII Codes

This web page contains an ASCII codes table to assist you in finding the special ASCII character codes you need.

ASCII stands for American Standard Code for Information Interchange. It is the standard format used for text files within computers and online.

As computers can only understand numbers, the ASCII code is the numerical representation of alphabetic and special characters, such as ‘a’ and/or the ‘©’ symbol.

In order to display special characters or symbols within your HTML pages, you must use a special ASCII code. The codes below display the HTML code and the character when displayed on your web page.

 
For example, if you’d like to place your copyright information on your website, you will need to include a special ASCII Code within your HTML that looks like this:

HTML Code

HTML code viewed within an HTML document:
html-line

©

Browser View

HTML coding viewed through a web browser:
html-line

©

Here’s how your HTML code might look:

HTML Code

HTML code viewed within an HTML document:
html-line

Copyright © YEAR YOUR COMPANY NAME

Browser View

HTML coding viewed through a web browser:
html-line

Copyright © YEAR YOUR COMPANY NAME

Another example of using an ASCII code is for the trademark symbol. To display the trademark symbol within a web page, you must use the ASCII Character Code that looks like this:

HTML Code

HTML code viewed within an HTML document:
html-line

™

Browser View

HTML coding viewed through a web browser:
html-line

Here’s how your HTML code might look:

HTML Code

HTML code viewed within an HTML document:
html-line

Business™

Browser View

HTML coding viewed through a web browser:
html-line

Business™

Another great use for the ASCII code is display your email address. For example, instead of displaying your email address within your HTML with the @ symbol, use the ASCII code equivalent. Your HTML code will look something like this:

HTML Code

HTML code viewed within an HTML document:
html-line

you@domain.com

Browser View

HTML coding viewed through a web browser:
html-line

you@domain.com

This provides a great way to prevent your email address from being harvested by spam bots.

To use any of the characters displayed within the ASCII codes chart, copy & paste the HTML code to the left of the character you would like to use.

 

ASCII Codes Table


 

 
This concludes the ASCII Codes section. For additional tips and codes, visit the HTML Tutorial section.