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

HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Test: Creating an HTML Element

<img src alt="A picture of me in Spain.jpg"/> It suppouse to be right

I am kind of confused, I am in need of assistance, the questions and the task, are very unclear.. Please share opinions...

    <title>My trip to Spain</title>

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


1 Answer

Raffael Dettling
Raffael Dettling
32,998 Points

You haven´t assigned a value to the src. Assign the path ("images/spain.jpg") to src and leave the alt attribut as it is

<img src="images/spain.jpg"  alt="A picture of me in Spain."/>

The alt attribut describs the picture and can be used by Screenreaders to read them.