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 Images and Lists

Murguz Tagiev
Murguz Tagiev
1,921 Points

Couldn't insert the image

I couldn't insert the image into the Web-page. Instead of showing the image there is only a question mark there. Could you please help me out? Thanks in advance!

6 Answers

I don't see the code. But my assumption is that you aren't pointing to the correct file location. i.e. if it was in your images folder it would be something like

"<img src="images/myimagename.jpg">"
Murguz Tagiev
Murguz Tagiev
1,921 Points

Thank you for your response! I figured it out.

Could you please show us your HTML??

Murguz Tagiev
Murguz Tagiev
1,921 Points

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells like Bakin' Cupcake Company</title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin"> </body> </html>

All of the code? Or at the very least the <a> tag.

Murguz Tagiev
Murguz Tagiev
1,921 Points

<img src="img/logo.gif" alt="Smells Like Bakin">

Murguz Tagiev
Murguz Tagiev
1,921 Points

<img src="img/logo.gif" alt="Smells Like Bakin">

Murguz Tagiev
Murguz Tagiev
1,921 Points

Sorry, I'm printing the answer to your message, but it's invisible

Murguz Tagiev
Murguz Tagiev
1,921 Points

Sorry, I'm printing the answer to your message, but it's invisible

Read the markdown cheatsheet to see how to properly show your code in the forums. Hope this helps

Murguz Tagiev
Murguz Tagiev
1,921 Points

Ok thank you very much!