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 Use HTML Elements

Raymond Franks
Raymond Franks
180 Points

What is the correct way to type a head tag between html tags?

What is the correct way to type a head tag between html tags

index.html
<!DOCTYPE html>
<html>head</html>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hi Raymond, The HTML tags will encompass your entire document. The head tags are just part of many tags that will be between the html tags. Head tags will be at the top of the page and is where all your meta tags, title tag, src links, stylesheet links, etc will go.

So the challenge just wants you to add the tags for now.

<html>
<head></head>
</html>

Keep coding! :)

Andrew Rodman
Andrew Rodman
9,681 Points
            <head>PUT YOUR HEAD CONTENT HERE</head>
            ```