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 Image Tags

Abhishek Shah
Abhishek Shah
14,286 Points

When we enter the placeholder img link .. it doesnt change the pic on refresh. http://placeimg.com/400/400/people

<header> <img src="http://placeimg.com/400/400/people" alt="Drawing of Jane Smith" class="profile-image"> </header>

1 Answer

Steven Parker
Steven Parker
229,644 Points

Your browser may be using caching for efficiency. There's probably a way to force your browser to do a full refresh without using the cache.

I use Chrome, and holding Ctrl while pressing F5 will do it.

Abhishek Shah
Abhishek Shah
14,286 Points

Hi Steven .. Yes it seems to be Caching issue... I did try refreshing page using Ctrl + R ( I am using chrome too) it did refresh the page ) but didnt change the image. However its working fine on Internet Explorer.

Ctrl +F5 didnt refresh the page on chrome .. Ctrl+ shift+ R however fetched the new image on refresh..

Thank you so much !!

Steven Parker
Steven Parker
229,644 Points

Both Ctrl+F5 and Ctrl+shift+R refresh my Chrome, but it's not the very latest version.

Thanks, holding CTRL while pressing F5 works great!