CLASS web

HTML

character set

Character set

When you create a document on a web page, you need to tell your computer what language it is using.
This is because the computer will output the text to the web browser correctly.
Start Web Coding, where you are now learning web coding, uses the Unicode character set. Unicode (utf-8) is a character set that represents most languages in the world, including English, Korean, Japanese, and Chinese.
Here's how to set the character set:

<meta charset="utf-8" />

Then put this tag inside the head tag, as below.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Start Web Coding</title>
</head>
<body>
Hello world
</body>
</html>

I'll check the results right below.











ALL COMMENTS 0

Sort by

PinkCoding

PinkCoding

X

PinkCoding

Web Scratch Pad

X

loading

            
            
        

Back to the course