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
Matthew Mansell
59 PointsIm a beginner using html, and im just testing on how to get an imagine into html?
so i want to add an imagine in my workspace, and im doing, <img src=" LINK "> how can i put a link of an imagine their? copy past not working..? thanks
1 Answer
Christopher Collins
Front End Web Development Techdegree Student 6,343 PointsHi Matthew,
Did you check to make sure the link you are using is valid in the markup, or that the file path is targeting the correct directory where your image is located?
Perhaps it is a simple issue of being a broken link that is causing your error. Also, be sure to define the alt attribute in the tag with the final code. Example below:
<img src="Tiger.jpg" alt="Indian Tiger in the jungle.">
Good luck!