k.erya
k.erya

Reputation: 13

IE can't load img to HTML

open chorme

This code is not load image to IE but open in chrome and other web browsers

<!DOCTYPE html>
<html>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <head>
        <title>VANKOW ERP.</title>
    </head>

    <body>
        <h1>#1</h1>        
        <img src="//api.vankow.com/file/images/image047.png" alt="VANKOW">
    </body>
</html>

Upvotes: 0

Views: 332

Answers (2)

hakany
hakany

Reputation: 7254

add the meta tag in the head tag. I think this could also break in IE.

such as

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>VANKOW ERP.</title>
</head>
...

and add a http: or https: at beginning of the url:

<img src="http://api.vankow.com/file/images/image047.png" alt="VANKOW" />

IE does not append this automatically as in modern browsers as Chrome.

Hope this helps.

Upvotes: 2

Soviut
Soviut

Reputation: 91545

You haven't closed your <h1> tag properly.

<h1>#1/h1>

Should be

<h1>#1</h1>

This most likely is causing IE to parse the trailing image tag incorrectly which would make sense since you're getting HTML1503: Unexpected start tag errors.

Upvotes: 4

Related Questions