HTML TutorialLesson 38Free preview
HTML Charsets
This lesson is part of HTML · All levels
Summary
Charset specifies how a browser converts bytes into text characters to make the writing appear correct. The standard used is UTF-8 because it supports almost all world letters and symbols, including Indonesian characters. By declaring <meta charset="UTF-8">, text such as punctuation and emoji can appear consistent across browsers.
Key points
- Charset sets the page text character encoding
- UTF-8 is the most common and widely supported standard
- Declare with <meta charset="UTF-8"> in <head>
- Without the proper charset, a particular text can appear as a strange character.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.