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 trialAldo Romero
4,243 PointsCharacter set for page
it's telling me "Remember to add a character set attribute for your meta tag." I don't know what that means though, can someone explain this to me? Here is my code... <!Doctype html> <html> <head> <meta charset = "utf-8"> </head> <body>
</body> </html>
3 Answers
Michael Hulet
47,913 PointsIt's asking to specify the character encoding that your page uses. What you want is Unicode (as opposed to ASCII, or something similar). This code passes at the point where I think you are:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
</head>
<body>
</body>
</html>
The meta tag nested in the head tag is what's important. The attribute you're looking for is charset, and the value you need is "utf-8", which is the most popular form of Unicode used today.
Roberto Alicata
Courses Plus Student 39,959 Pointsyou need to write this inside the HEAD tag:
<meta charset="UTF-8">
Aldo Romero
4,243 PointsOkay. Thanks. I got it.