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 trial

HTML How to Make a Website HTML First Use HTML Elements

Kyle Scott
PLUS
Kyle Scott
Courses Plus Student 2,316 Points

Set Character

I am on task 4. and I am putting

 <meta charset ="utf-8"
<title> Kyle Scott | Baker </title>

What am I doing wrong? It say I need to set a meta character.

Kazimierz Matan
Kazimierz Matan
13,257 Points

Do you mean "Set the character set for the page." task in "Stage 2: HTML First" of "How to Make a Website"?

If you made first 3 tasks properly your code in challenge probably looks like below:

<!doctype html>
<html>
  <head>
  </head>
  <body>
  </body>
</html>

Now your task is to specify a character set (something like "iso-8859-1" or "utf-8"). To do this, in <head> section, you have to use <meta> element with "charset" property and setting its value to one of typical character set values (look into my previous sentence). Just put it together...

2 Answers

in the <head> you can try to type < meta charset="utf-8" > before the adding the title ( <title> )

Stone Preston
Stone Preston
42,016 Points

it looks like you forgot to close your meta tag, and you dont need to put a space between charset and the equal sign:

    <!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
    <body>
  </body>
</html>