Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website HTML First Use HTML Elements

Numair Khan
Numair Khan
3,210 Points

stuck on html code calling the character and "utf-8"

I can't remember how to add the character in the meta section of my html code please help:) Best Regards

index.html
<!DOCTYPE html>
<html>
  <head>
  <meta char = utf-8>
  </head>
    <body>

    </body>
</html>

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

here's how to set the character set. the correct keyword is charset, not char. "utf-8" with quotation mark, and leaves no space before or after the assignment operator.

<meta charset="utf-8">

hope it helps.

Numair Khan
Numair Khan
3,210 Points

Thank alot, I seem to be sort of in that "still getting used to" stage in html. Because so far I have been only doing python in my programming carreer. But thanks alot Best Regards:)