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 trialJesse McFadden
179 PointsWhat is an image tag in terms of creating an unordered list?
When creating an unordered list of photos, what is an "image tag"?
2 Answers
Jarick Geiselmayr
7,452 PointsHi, Jesse. If I'm understanding you correctly, you're just having a little confusion with the terminology. The 'image tag' is simply the " <img> " piece of html. It is how you point to the location of the image you wish to display. It looks like in this exercise you have correctly utilized the <img> tag but unnecessarily included a hyperlink ( <a href> ) around it pointing to the same file location.
You have correctly created the unordered list, list items, and placed the image tag pointing to the proper location, You just added an extra step by wrapping them in hyperlinks.
Forgive me if I misunderstood the question. Hope this helps.
-Jarick
Luke Glazebrook
13,564 PointsHi Jesse,
The tag that you are looking for is <img>. If you wrap an <li> around that then it will be within a list item which is what you need.
I hope this helped!
-Luke
Jesse McFadden
179 PointsHi Luke, thanks for the quick response. I'm quite new to this. To clarify, the image tag I am looking for is "." (a period). Is that correct?
This is in reference to what I am working on currently.
<section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg"> </a> </li> </ul> </section>
Thank you for your help!
Jesse
Jesse McFadden
179 PointsJesse McFadden
179 PointsAfter searching through the forums, I found the correct answer. You are right, I was going a bit further ahead than need be based off the previous tutorial. You understood the question perfectly.
Thank you!