HTML codes are special characters or character entities that can be used in web pages to display characters that otherwise would be difficult to type or use.
Types of HTML Codes
There are two types of HTML codes that can be used in web pages:
- Characters that cannot be typed with a standard keyboard, such as ã or Ç — some of these characters can be typed with option keys in some programs, but if you don't use the specific HTML code for them on your web page, they may not show up or display as a strange character (like a black box or something worse).
- Characters that are used in HTML that might cause problems with the browsers and user agents if they are used in a web page document, such as &, < and >.
Using HTML Codes
Every character that is a part of your website's character set can be written encoded with HTML codes or character entities. I have listed them in several easy-to-use lists:
- Standard A-Z Character Entities - ASCII and More
- Currency Codes
- Mathematical Codes
- Punctuation Codes
- Pronunciation Codes
- Diacritics Codes
- ASCII Codes Sub-Set
And HTML codes for specific languages:
The HTML codes for ã and Ç are
ã and Ç
The HTML codes for &, < and > are
&, < and >