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 HTML Basics Images, Text and Links Adding Images to the Page

Jonathan Tubbs
Jonathan Tubbs
7,145 Points

my image does not show up - I think the tags are right

I can't see my image, yet the Alt text and Hover title appear correctly. The first image is not in a subfolder, the 2nd one is.

<img src="user.jpg" alt="VR User" Title="This VR User is a really cool guy">

<img src="img/vr-space.jpg" alt="Space" Title="The Final Frontier">

1 Answer

Jaspal Singh
Jaspal Singh
13,525 Points


The reason for not showing the image is not providing the correct path in the src attribute and in your case the file name is vr-user.jpg not user.jpg. So i think your doing spell mistake.