Reputation: 153460
I have the following simple HTML code, the code runs correctly using the run snippet and in Internet Explorer. However, if I copy this code, save it to text.html and try to run it in Chrome the image doesn't appear.
What is the nature of this problem? And, how do I fix it?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<H1>This is Scott!</H1>
<div>
<img src='http://mgecombanners.com/wp-content/uploads/2017/12/5KAWFvr_JanTV18_Red_728x90.jpg' border='0' />
</div>
</body>
</html>
Upvotes: 2
Views: 75
Reputation: 67738
On an https
website contents from an http
website will not be loaded in all browsers, which is the case here (in the snippet on SO at least). (might also depend on personal browser settings)
Upvotes: 1
Reputation: 365
If you have AdBlocker enabled it's blocking the image probably as it contains word "banner". Image displays as intended on incognito window.
Upvotes: 2