Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Treehouse Club: HTML Publish a Story HTML Structure

Sevilla Charles-Edouard
Sevilla Charles-Edouard
839 Points

I don't understand why it's not working: i put <body> <p> </body>

I tried also <body> <p> my paragraph is... </p> </body> but it's not correct also, i don't understand thank you for your help

index.html
<!DOCTYPE html>

<html>


<meta charset="UTF-8>

               <head> 
               </head>
               <body>
               <p>
               </body>      


               </html>

2 Answers

Valerie Ernenwein
Valerie Ernenwein
5,048 Points

You forgot to close the quote in your <meta>-element. This causes an issue with the following code. Plus, try to add as a paragraph just what they want to:

<!DOCTYPE html>
<html>
<meta charset="UTF-8">
  <head>
  </head>
  <body>
    <p>My first paragraph!</p>
  </body>
</html>
mathisvester
mathisvester
13,451 Points

Actually your answer is right. Furthermore the

<meta charset="UTF-8">

should be within the

<head></head>

tag.

Feisty Mullah
Feisty Mullah
25,837 Points

Your meta should be inside head and with quote marks. <head> <meta charset="utf-8"> </head>