Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS Adding a New Web Page Write the HTML

Munira Mohamed
Munira Mohamed
420 Points

Hello I am having trouble with my image it is not showing up on the webpage

<img src"http://placeimg.com/200/200/nature" alt"Treasure Porth, Web Developer" class = "main image">

2 Answers

Alexandra Edwards
Alexandra Edwards
4,686 Points

Hi Munira, You're just missing a couple = signs and then you got it!

<img src="http://placeimg.com/200/200/nature" alt="Treasure Porth, Web Developer" class="main image">

Let me know if you need any more help.

Daron Anderson
Daron Anderson
2,566 Points

Always make sure your syntax/punctuation is correct. If you happen to be even be missing a quote, it will not work. When you start your own web page, make sure your file path is correctly linked to the directory/folder/imgname.jpg make sure you put them in a directory that is easy to access eg:(home folder) You can always go to an image, right click and look at the properties, this will give you the path, then add the image name after the path.