Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Basics Getting Started with HTML Global Structure of an HTML Document

Why aren't you using <meta> tags in the head of the document, as it is needed. Well not really. <meta charset="UTF-8">

Shouldn't you include meta tags in the head of your document for a well made website?

Well, I use them in all of my documents and others do.

2 Answers

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 90,824 Points

We're only just getting started with HTML at this point. But you're absolutely right that meta tags are needed in your HTML document. These are the sorts of things we all learn about as we go deeper into our HTML journey.

What Guil is coding here is the bare basics of a HTML5 document.

Jamie Reardon
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

When you validate your code through a website validator you will see that it may warn you about the non-use of certain meta elements. They are generally good information to add to your website but some are not necessarily needed.

One important one to consider implementing is the one for responsive layout:

<meta name="viewport" content="width=device-width, initial-scale=1">

Which you will learn about in an upcoming course based on CSS.