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!
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
how do I put my paragraph between the <body> and </body> tags
Inside your body element, put in a paragraph that says, "My first paragraph!"
<!DOCTYPE html> <html></html> <head></head><body></body><html></html> <p></p>My first paragraph!<body></body>
Armin Kadic16,242 Points
There is a couple of things wrong with your setup. You only need one pair of elements each, that means one html element, one head, body, and p. What they ask you to do is put the <p>My first paragraph</p> inside the body tag, that means between the opening body tag <body> and the closing body tag </body>. Now, the head tag should go above the body element like you did, but the body and the head tag need to go between the html tag, like this.
<body> Here goes the p tag </body>
Ps. This course you are doing right now is retiring soon, you should start with the updated one. Here is the link: