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 trialRiik Acharya
2,564 PointsUsing Image From the Internet
I saved an image from the internet into my text editor and used the file path to it in my html file, but it did not show up on the website. The alt feature did, though. What do I do so the does appear on the website?
1 Answer
Steven Parker
231,236 PointsI would not expect that you could successfully save an image into a text editor. You would need to use a different method to get a copy of the image, such as the "save image as..." function of your browser.
Alejandro Bryan
10,923 PointsAlejandro Bryan
10,923 PointsI will recommend you to create a directory with all you image. If you got for example your directory called "images". You will access your image with the following code <img src="images/yourImageName.formatt"> If you don't create a directory you will access through < img src="./yourImageName.format"