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

how i add a character set attribute for your meta tag.

what is the character set

<!DOCTYPE html>
    <meta charset ="utf"-8> 
    <title> noor / writer </title>
    <h1> Noor</h1> 
      gallery will go here 
      <p> &copy; 2015 noor </p>

Try taking the space out between the "charset" and "=" see if that helps.

3 Answers

Try taking the space out between the "charset" and "=" see if that helps. also try "UTF-8"

Change your code from:

<meta charset ="utf"-8> 


<meta charset="UTF-8"> 

So your error is that you are closing the quotation-marks too early and the spacing between charset and = might also be an issue.

To answer your question though about what charset is, this is how the W3 defines the charset:

To display an HTML page correctly, a web browser must know the character set used in the page.


Juan Aviles
Juan Aviles
12,795 Points

Take a close look at your double quotes, and keep in mind what has to go inside of them.