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 Treehouse Club: HTML Publish a Story HTML Structure

SARTHAK KHURANA
SARTHAK KHURANA
1,079 Points

write in opening and closing html tags

digital literacy:HTML

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

7 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,857 Points

I'm sorry. I'm not sure what the questions is?

The code above is correct and passes Task #2.

:dizzy:

SARTHAK KHURANA
SARTHAK KHURANA
1,079 Points

it passes task 2 but i am not be able to do task 3

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,857 Points

It'll be the same as what you did with the <html> tags for task two. Except now with <head> and <body> tags. It might help if, instead of putting opening / closing tags on the same line, you put them on different lines:

<!DOCTYPE html>
<html>

<!-- Task three will go in here - between the <html> tags -->

</html>

Just review the order and which tags do (or do not) nest inside of each other :dizzy:

SARTHAK KHURANA
SARTHAK KHURANA
1,079 Points

When I do it between html tags it says that you need a separate opening and closing head tags how am i suppose to do it this way

Jason Anders
Jason Anders
Treehouse Moderator 145,857 Points

Have a quick review of the <head> tag Video, and the <body> tag Video.

As soon as the <body> tag video starts, the first thing Joy says is where to put the <body> tags in relation to the <head> tags.

SARTHAK KHURANA
SARTHAK KHURANA
1,079 Points

Ok i will see the video again thanks

Jason Anders
Jason Anders
Treehouse Moderator 145,857 Points

If you're still stuck after the review, let me know. :)

SARTHAK KHURANA
SARTHAK KHURANA
1,079 Points

i completed the task not only that i finished the html course i went to the third last task and saw it so i understood thanks for your help