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 Introduction to HTML and CSS (2016) 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,567 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.