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

Im not good in terminoloy, how about this? lol

Im trying to but..

index.html
<!DOCTYPE html>
<head></head> 
stjarnan
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
stjarnan
Front End Web Development Techdegree Graduate 56,488 Points

Hi Jayson!

<!DOCTYPE html> 
<html>
The head and body tags goes inside the html tags.
<head>
All links to css etc goes inside the head tags
</head>
<body>
The content of your web page goes inside the body tags
</body>
</html>

I hope that helps!

2 Answers

Steven Parker
Steven Parker
231,248 Points

It looks like you're on task 2.

The instructions say, "Create the HTML element that will serve as the document root." You did create an element, but instead of "html", you wrote "head".

When you get to task 3, remember that the new elements go inside the html tags.

Hi. Preview in workplace is not working. I dont know what seems to be wrong. I just add the color on the footer and when i Preview it its no longer working. it gives me blank page saying http://port-80-rfi1errhw6.treehouse-app.com/

Can you please help me out on this?

stjarnan
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
stjarnan
Front End Web Development Techdegree Graduate 56,488 Points

Hi Jayson

You have misplaced your code. In your head tags, you have placed a style container containing all your body code. You need to remove all of that code as it should not be there.

<head></head>
<body>Your content goes here (divs etc)</body>

Not like this:

<head><body>Content here</body></head> 
<body></body

Hope that helps!

Steven Parker
Steven Parker
231,248 Points

FYI: That's a direct URL to your workspace, it's temporary and only exists while you are using it.

:information_source: When sharing a workspace, always use the snapshot function in the workspace and provide the link to that instead.