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

Caleb Davis
Caleb Davis
840 Points

Setting the character set for a meta tag.

My code is as follows:

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

This is the exact code Nick has in his video yet it still isnt working in the code challenge.

Please enlighten me on what I am doing wrong. I thought I knew html before from code academy but I'm starting to seriously doubt myself.

2 Answers

I believe that you posted code and only the !DOCTYPE is available to view, please post the whole code as we see nothing but <!DOCTYPE html>

I forgot to mention, if you want to know how to paste code here then please click on "Markdown Cheatheet" just under the reply box (bottom right)!!

Then we can help you further.

Caleb Davis
Caleb Davis
840 Points

<head> <meta charset= "utf-8"> </head>