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!
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
Matthew Hernandez5,009 Points
Having trouble setting the character set for the page
I can't seem to recall the proper syntax on how to set the character set, can any one help?
<!DOCTYPE HTML> <HTML> <HEAD> <META=CHARCODE=UTF-8> </HEAD> <BODY> </BODY> </HTML>
Thomas Fildes19,064 Points
You set the character set using the code below:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> </body> </html>
Also, I would advise you to write out your tags in lowercase rather than uppercase because it is easier to read and is more commonly used amongst developers.