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 trialDALE PETERSEN
6,773 PointsHead and body tags.
Question is asking for head and body tags between the html tags. I typed: <html> <body> <h1> </h1> </body> </html>
but I get "bummer" <head> and <body> tags between html tags. Thank you.
<!DOCTYPE html>
<html>
<body>
<h1>
</h1>
</body>
</html>
2 Answers
Kristian Terziev
28,449 PointsHello Dale,
The task is completed with the following code
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>My first paragraph!</p>
</body>
</html>
<h1> is a tag for headers(i.e titles)
Todd Redmond
8,422 PointsKristian is correct. The challenge is asking for you to enter "My first paragraph" inside paragraph tags and not header tags, as you show above.
Hopefully that helps
DALE PETERSEN
6,773 PointsDALE PETERSEN
6,773 PointsThank you. You are great. Now I know or think I know the difference between a "heading" <h1> versus the "header" <header>. So much to learn so little time.