HTML Charset - encoding characters


To display HTML characters at your website correctly you sometimes have to set charset meta tag in your website.

Meta charset syntax

<meta charset="UTF-8">

This tag as every meta tag have to be placed in <head> part of your website. List of HTML charsets:

  • ASCII - default charset
  • UTF-8 - recommended charset, contains more characters
  • ANSI
  • 8859

More meta tags and what are meta tags in this chapter.

By: Tomas Silny
Edited: 2020-11-08 17:40:13