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 trialKrystal Vincent
9,999 PointsPut the text in a paragraph tag.
It keeps saying its wrong??????
<!doctype>
<html>
<head>
<title>My trip to Spain</title>
</head>
<body>
<img src="images/spain.jpg"
<p>Here is a picture of me in Spain last summer!</p>
<a>Go back to the top of the page.</a>
</body>
</html>
3 Answers
KRIS NIKOLAISEN
54,971 PointsYou are missing the closing bracket for your image tag
Sean T. Unwin
28,690 PointsHi Krystal,
The img
tag doesn't have a closing bracket, and the alt
parameter is missing from the initial setting.
The img
tag should look like the following:
<img alt="A picture of me in Spain" src="images/spain.jpg">
Everything else looks good.
KRIS NIKOLAISEN
54,971 PointsI said bracket not tag. From wikipedia
A bracket is a tall punctuation mark commonly used in matched pairs within text, to set apart or interject other text. The matched pair is best described as opening and closing.[1] Less formally, in a left-to-right context, it may be described as left and right, and in a right-to-left context, as right and left.