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 Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications Test: Creating an HTML Element

Jan Lundeen
Jan Lundeen
5,886 Points

On the challenge 2 of 3 in the HTML class, I continue to get an error on the paragraph tag section.

On the challenge 2 of 3 in the HTML class, I continue to get an error on the paragraph tag section. I think that the src attribute syntax is okay since I was able to clear the error message regarding the src attribute. However, I can't see to correct the paragraph tag (and remove the error message for my placement of the paragraph tag. See a snippet of my code below.

<img src="images/spain.jpg" alt="A picture of me in Spain"/> <p> “Here is a picture in Spain last summer!”</p> <a>Go back to the top of the page.</a>

This seems like it should be really simple, so I don't know what I'm doing wrong.

Thanks,

Jan

index.html
<!doctype>
<html>
  <head>
    <title>My trip to Spain</title>
  </head>
  <body>


    <img src="images/spain.jpg" alt= "A picture of me in Spain"/> 
    <p> "Here is a picture in Spain last summer!" /p>
    <a>Go back to the top of the page.</a>

  </body>
</html>

1 Answer

Hi Jan,

yes, it's very simple but those things get you at the beginning, that's normal... ;-)

I give you a hint: It's the closing paragraph tag. You can actually even see it because it has white color as opposed to the light blue color of all other tags....

Can you find it?

Happy coding!

Nils

PS: You can upvote my post and/or mark as "best answer" (at the bottom of my post) if it helped you. :-)

Jan Lundeen
Jan Lundeen
5,886 Points

Hi Nils,

Thanks! ;-) I found it. Thanks for the hint, That helped.

Jan