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 trialEli Cohen
329 Pointsno clue what I am doing wrong
I am doing front-end wed devel and keep getting Bummer! Remember to add a char.acter set attribute for your meta tag. I have no clue why
<!DOCTYPE html> <html> <head> <meta charsest="utf-8"> <title> </title> </head>
4 Answers
Logan R
22,989 Points<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
Kevin Korte
28,149 Pointssetting the character set in html looks like this
<meta charset="UTF-8">
In that example UTF-8 is the default character set for HTML5, and will likely be the one you'll want. It's a safe default. If it needs to be different, you'll likely understand and know why.
Cody Sheets
7,198 PointsI got stuck on this one too lol.
The secret to continue is
<!DOCTYPE HTML>
<head>
<meta charset="UTF-8">
</head>
Cody Sheets
7,198 PointsBasically, it wants all caps.
Eric Flowers
9,472 Points<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!DOCTYPE html> tells the browser what type of document it's reading. Using that meta tag declares what encoding you'd like to use.
Logan R
22,989 PointsLogan R
22,989 PointsCan you please add ``` around your code so we can fully see it?
Thanks!