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

Not working?

<Meta charset = "UTF-8"> isn't working! Why?

index.html
<!DOCTYPE html>
  <HTML>
    <head>
      <meta charset = "UTF 8">
    </head>
    <body>
    </body>
  </HTML>

What are you expecting as your output?

What do you mean?

I mean. Are you expecting to see something on a webpage after you run that? Do you get any errors? What is your expected response from this code?

No,no, It is a coding challenge that I got finished.

Oh alright. Glad you got it sorted out.

1 Answer

Jonas Γ…berg
Jonas Γ…berg
9,459 Points

Hi,

It appears you left out the hyphen in

<meta charset = "UTF 8"> 

The correct syntax is:

<meta charset="utf-8">

Correct Html:

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