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

Head 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.

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

2 Answers

Hello 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)

Thank 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.

Kristian 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