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

HTML Build a Simple Website Text Editors and HTML Creating Structure

chester naguit
chester naguit
406 Points

img=src

hi, how can point my img=src folder to my image saved in my DT folder? im using sublime txtpad.. thanks!!

4 Answers

Try

<img src="imagefolder/imagename.jpg" />

using the name of the folder for "imagefolder" and the name of the image for "imagename" This assumes that your images are in a folder that lives in the same folder as your index.html page.

chester naguit
chester naguit
406 Points

ok.. I tried that but no luck, the folder is in my desk top this how I wrote it <img src="desktop/folder1/img#>

then you probably have to go up a level depending on where your html files are located. Go up a level like this:

../imagefolder/imagename.jpg
chester naguit
chester naguit
406 Points

ok.. do I have to download the image folder to sublime text pad to see it or doesn't really matter if I have it on my desktop saved.. also where can I get a cheap webhosting .. thanks!!!