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 trialDaniel Felling
549 Pointswhat is a meta tag?
trying to set the character set using a meta tag
<!DOCTYPE html>
<html>
<head>meta</head>
<body></body>
</html>
3 Answers
David Finley
18,742 PointsA meta tag is a special HTML tag that provides information about a Web page. Unlike normal HTML tags, meta tags do not affect how the page is displayed. Instead, they provide information such as who created the page, how often it is updated, what the page is about, and which keywords represent the page's content. Many search engines use this information when building their indices.
Jose Mendoza
UX Design Techdegree Graduate 19,788 PointsDavid couldn't have said it any better!
On the code challenge part, you have to add an actual meta tag inside of the head tag. Following the meta tag is the "charset" which is then given the value "utf-8"
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body></body>
</html>
Rasbin Rijal
Courses Plus Student 10,864 PointsMetadata is data (information) about data.
Hi Daniel Felling ,
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.
Note: <meta> tags always go inside the <head> element.
Note: Metadata is always passed as name/value pairs.
Note: The content attribute MUST be defined if the name or the http-equiv attribute is defined. If none of these are defined, the content attribute CANNOT be defined.
You can also see http://www.w3schools.com/tags/ as a reliable source to find out about more tags like meta.
Reference: w3schools.com