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 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,561 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,561 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,561 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,561 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