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 trialTristan van der Merwe
1,405 PointsSet the character set for the page.
I've tried everything. I even made the = a +. It keeps on giving me an error.
Please get back to me.
<!DOCTYPE html>
<html>
<head>< meta charset="utf-8"></head>
<body></body>
</html>
3 Answers
Steven Parker
231,248 PointsMake sure there's no space between the angle ("<
") and the tag name.
Having a space there will prevent the tag from being recognized by the browser.
Harshal Mundhe
3,325 PointsTHE RIGHT CODE IS...
<!DOCTYPE html> <html> <head><meta charset="utf-5"></head> <body></body> </html>
Steven Parker
231,248 PointsThis is not correct.
While this might get by the challenge, it's not actually correct. Tristan already had the correct charset name. "utf-5" is not a valid charset value.
Harshal Mundhe
3,325 PointsBut i put that value and the challenge goes correct.
Steven Parker
231,248 PointsThere's a bug in the challenge checker.
You can also pass using: charset="moof"
, but that's not correct either.
Maksym's comment above shows the correct solution.
Maksym Tkach
4,817 PointsMaksym Tkach
4,817 Points<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> </body> </html>