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 trialSARTHAK KHURANA
1,079 Pointswrite in opening and closing html tags
digital literacy:HTML
<!DOCTYPE html>
<html></html>
7 Answers
Jason Anders
Treehouse Moderator 145,860 PointsI'm sorry. I'm not sure what the questions is?
The code above is correct and passes Task #2.
SARTHAK KHURANA
1,079 Pointsit passes task 2 but i am not be able to do task 3
Jason Anders
Treehouse Moderator 145,860 PointsIt'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
SARTHAK KHURANA
1,079 PointsWhen 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
Treehouse Moderator 145,860 PointsHave 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
1,079 PointsOk i will see the video again thanks
Jason Anders
Treehouse Moderator 145,860 PointsIf you're still stuck after the review, let me know. :)
SARTHAK KHURANA
1,079 Pointsi 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