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 trialJeremy Smith
443 PointsMeta tag
I have typed the code
<meta charset = "utf-8">
and have it nested under my <head> tags in my workspace. However i'm still getting an error in the activity stating that I have not set the character attribute to my meta tag. I thought that the charset and the "value" of utf-8 was setting this? I'm continuing to receive an error
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8">
</head>
<body></body>
</html>
1 Answer
Jon Major
3,531 PointsHi Jeremy,
There's nothing technically wrong with your code, but from what I understand it's generally frowned upon to include spaces before and after the "=" sign which separates the attribute from its value.
It looks like the activity quiz doesn't recognize the code as correct when you include the spaces. Try eliminating them and you should be good to go.