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 trialPatrice Burgin
103 PointsIn the HTML First Stage, how do you add a character set attribute for your meta tag?
I typed: <meta charset= "utf-8"> and it's still requesting I include the character set? Can you please assist?
<!DOCTYPE html>
<html>
<head>
<meta charset= "utf-8">
</head>
<body>
</body>
</html>
3 Answers
Rich Bagley
25,869 PointsHi Patrice,
The issue is the space after the =. Remove this and you should be sorted :)
So:
<meta charset= "utf-8">
will become:
<meta charset="utf-8">
Hope that helps.
-Rich
Josip Dorvak
18,126 PointsYour browser probably cached a version of your project before you added the meta tag. I would clear your browsers cache and re-run your program and check if you're still getting the same warning
Patrice Burgin
103 PointsThank you so much for all of your support!!!
Rich Bagley
25,869 PointsNo problem :) Hope it helped!
Neftali Mendez
6,226 PointsNeftali Mendez
6,226 Points<head> <meta charset="UTF-8"> </head>