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

What do you mean when you write in <meta charset="utf-8"> ?

I am beginner in HTML and I don't pretty sure what this expression means.

2 Answers

Gavin Ralston
Gavin Ralston
28,770 Points

You're telling the browser what character set you're using, so it can better render the text on screen.

The "meta" element essentially just means "some information about this document" so you can set various properties having to do about the document and its contents, but they're not directly a part of the document.

Here's more information than you need right now but it's probably going to be more digestable than the venerable 2003 rant on The Absolute Minium Every Software Developer... you might get directed to when asking this question.

David Collins
PLUS
David Collins
Courses Plus Student 2,598 Points

Hello Itai Shin Also the literal translation here is that the character set or charset should be utf-8, or universal character set transformation format, eight bit. This is what the attribute means Gavin Ralston, he gives a good answer, in what it dose in the browser

I hope this help you David