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 trialalisonnardella
179 PointsHow do you set a character set?
I am in the How to make a website course and is stuck on one of the problems. How can I change this line of code <meta character="utf-8"> into a character set?
<!DOCTYPE html>
<html>
<head>
<meta character="utf-8">
<title></title>
</head>
<body>
<p></p>
</body>
<footer></footer>
</html>
2 Answers
Cindy Lea
Courses Plus Student 6,497 PointsThe utf-8 is the character set for html-5. Html4 uses ISO-8859-1. However, the utf-8 fixes a lot of problems of the prior character sets so it is recommended that you use utf-8 now.
Riku S.
11,322 PointsWhat's meta-8?
Html4 and 5 can both support multiple character encodings, utf-8 for html5 and iso-8859-1 for html4 are only defaults.
Cindy Lea
Courses Plus Student 6,497 PointsRiku, I had a typo. I fixed what I wrote...
Riku S.
11,322 PointsRiku S.
11,322 Points<meta charset="utf-8">