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 trialScott Anderson
241 PointsWhat does "Set the character set for page" mean? Help? Thanks.
I am on Challenge Task 4 of 6
<!DOCTYPE html>
<html>
<head>
</head>
<body></body>
</html>
2 Answers
Luke Glazebrook
13,564 PointsHi Scott!
The code that you will need is as follows.
<meta charset="utf-8">
This is not actually content on the page but rather some code which is more to do with which characters can be displayed on the screen. Can you figure out where this code would go?
Caleb Kleveter
Treehouse Moderator 37,862 PointsDoes it mater if it's caps or not?
Jason Anello
Courses Plus Student 94,610 PointsHi Caleb,
It's a case-insensitive match. Both your answer and Luke's would be fine.
Caleb Kleveter
Treehouse Moderator 37,862 PointsOkay, Thanks!
Caleb Kleveter
Treehouse Moderator 37,862 PointsIt wants you to type out the meta tag with the charset in it:
<meta charset="UTF-8">
katiaalamir
7,091 Pointskatiaalamir
7,091 PointsTo set the character set for a page is to tell the browser which character encoding it should use.
include this into you <head> tag:
<meta charset="utf-8">
This lets the browser know that the page is using the UTF-8 character set.
UTF-8 supports more characters than ASCII, allowing international languages to be represented.