Binarytrends

+44 (0) 1372 210608 info@binarytrends.com

Commonly Used HTML ASCII Characters

I have tried to list here all those ASCII codes I need to used quite often when working with websites. Sometimes it would take you time to find out an ASCII alternative for a particular character although I believe some of them are normally learned by heart by developers. ASCII characters are very useful in character and url encoding and are widely used and needed by developers.

Commonly Used HTML ASCII Characters
Name Result Code New Alternative
ampersand & & &
apostrophe ' '  
asterisk * *  
quotation mark " " "
space      
less-than < &#60; &lt;
greater-than ( &#40;  
left parenthesis ' &#39;  
right parenthesis ) &#41;  
at sign @ &#64;  
period . &#46;  
backslash \ &#92;  
vertical bar | &#124;  
left curly brace { &#123;  
right curly brace } &#125;  
copyright © &#169; &copy;
registered trademark ® &#174; &reg;
trademark &#8482; &trade;
angle quotation mark (right) » &#187; &raquo;
plus sign + &#43;  
hyphen/minus - &#45;  
multiplication × &#215; &times;
division ÷ &#247; &divide;
euro &#8364; &euro;
pound £ &#163; &pound;
dollar sign $ &#36;  

Web Design Tips

For CSS properties with numerical values, you can omit defining units for 0 value as 0 means the same in any unit.

Send us your tips »

Topics

Resources

Google Search

Google Ads