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

I m on this step : code challenge

I have done this: <!DOCTYPE html> <html> <head> <meta charset = "utf-8"> <title> Adina Iulia | Designer </title> </head> <body> <header> <h1> Adina Iulia </h1> <h2> Designer </h2> </header> <section> <p> Gallery</p> </section> <footer> <p> & copy ; 2014 | Adina Iulia </p> </footer> </body> </html>

but it says to ,,Remember to add a character set attribute for your meta tag.'' and I don t know how to do that in order to go to the next level. Can you help me with that?

5 Answers

eric hughes
eric hughes
12,345 Points

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

you need to add <meta charset="utf-8"> in the head section before title. utf-8 is the default character encoding in HTML.

stage 2: html first I ve done this like in the video. What s wrong?

< !DOCTYPE html > <html> <head> <meta charset = "utf-8"> <title> Adina Iulia | Designer </title> </head> <body> <header> <h1> Adina Iulia </h1> <h2> Designer </h2> </header> <section> <p> Gallery</p> </section> <footer> <p> & copy ; 2014 | Adina Iulia </p> </footer> </body> </html>

Thank you, Eric ! it worked

eric hughes
eric hughes
12,345 Points

like my answer so other new people can use this in the forum search and no problem :)