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) HTML: The Structural Foundation of Web Pages and Applications The Basic Structure of a Web Page

How do you add an image in your html workspace?

I’m not sure how to add any pic, or change it on an HTML workspace...

Hey Katrine,

It looks like you can add an image by right-clicking the images folder, or likely any folder, and then clicking "Upload file".

4 Answers

To add an image, use the code below <img src="" alt="" />

Inside the source (src), will be where you store your image. the alt, is the alternative text, which will display if your image does not load.

Thank you, I'm beginning my front end development journey, and looking to help as much as i can. :)

“Best answer”

Thank you!