Elliot Alderson
Elliot Alderson

Reputation: 285

Why image doens't link with the right path?

Why I can't see my image even if I have the right link?

Code:

<img href="Layout-home.jpg" style="">

The path of the root is in a USB ("grafica"), and the enteire link is:

file:///E:/MIKY-BEN/grafica/Layout-home.jpg

"grafica" is the ROOT. (whith the index.html file inside).

Upvotes: 0

Views: 32

Answers (1)

Quentin
Quentin

Reputation: 944149

The attribute is src, not href. This error would have been picked up if you had used a validator.

Upvotes: 3

Related Questions