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 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
MOD
Jonathan Grieve
Treehouse Moderator 91,252 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
seal-mask
.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.