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

CSS Treehouse Club: CSS My First Web Page Introduction to My First Web Page

<meta charset="utf-8"> ....

Do we have to add always the (meta charset utf-8 ) when we write a code on html ?

1 Answer

Rasbin Rijal
PLUS
Rasbin Rijal
Courses Plus Student 10,864 Points

Hi Besnik,

Metadata is data (information) about data.

The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.

Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.

The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

So, though it is not compulsory to add the meta tag, you should use it for the above mentioned purposes and it is recommended to use meta tags in web pages.

Reference : http://www.w3schools.com

Hope this helps :)

Thank you very much also for the reference page.