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 trialjoaquin manzitti
417 PointsI dont understand what it means by:" Be sure you include an image tag" I think i am doing it correctly and dont know how
Please help me to move on
2 Answers
Pav Cieslak
808 PointsGood morning Joaquin, refer back in your memory to the basics, what is a tag in the first place ? can u remember other examples of tags from previous lessons ? even the most basic ones. Then re-think and by using the simplest logics, answer yourself, how would u write an image tag. (hint: how does a html or a body tag look like ? ) hope that helps :)
Ojong Obasi
6,561 PointsWell, u didnt provide any code.
Tags are keywords surrounded by ankle brackets. An html tag describes the html content. Basically we have two types of html tags : <h1></h1>
(opening and closing tag) and <img>
(just one openor main tag) for your case.
So your image tag should look like this :
<img src="images/ball.png" alt="">
Alt attribute is an alternative text, should incase your images is not to be found , the text will be shown in place.
Aaron Watson
2,551 PointsAaron Watson
2,551 PointsHi there,
I'm assuming your doing html and the image tag looks like this...
<img src="example-image.png" alt="alternative text if the image can't be displayed">
check carefully through the videos I doubt they would leave you high and dry! Hope this helps good luck