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 trialAMAN JHA
339 Pointsi have to add two tag which should nested inside <html></html> tag.
i added two heading tags but error is same that it's said . i have to add body tag inside html tag. but body tag s already thier, so tell me what should i do now.
<!DOCTYPE html>
<html>
<head>
<title> My favroite webpage</title>
<link rel="stylesheet" type="text/css" >
<body>
<h1> Here, the heading <h1>
<h2> This heading contains some of other information</h2>
</body>
</head>
</html>
1 Answer
Stuart Wright
41,120 PointsThere are a couple of things to fix here:
- you need to move your closing </head> tag above your opening <body> tag. The head always finishes before the body begins.
- your closing <h1> tag is missing the / - it should be </h1>
Everything should be good after these two edits.
AMAN JHA
339 PointsAMAN JHA
339 Pointsthank you ! Stuart . well i have done already correction above the statements.