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 Build Structure

how do I set a character of a page?

I want to know more about the meta-tag

1 Answer

Hannah Gaskins
Hannah Gaskins
14,572 Points

Hey MUZ141070 Shelly Chaunoita,

You can add the following character set tag to the <head></head> section of your HTML5 page:

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

This code lets the browser know what character set or character encoding to use.

The character set itself defines the 127 different alphanumeric characters that can be used within an HTML5 document.

You can check out the list of characters from this link here:

http://www.w3schools.com/html/html_charset.asp

Additionally meta tags themselves are data about data. So in an HTML document the <meta> tags will provide metadata about the document itself. This will not be displayed on the page but can be seen within the source code. For more information on this, check out this site here:

http://www.w3schools.com/tags/tag_meta.asp

Hope this helps!

Cheers :)