Why can not I display the selected image below in my browser? [closed]

-2
<figure id="centro-distribuicao">
    <img scr="img/centro-distribuicao.png">
    <figcaption>Centro de distribuição da Mirror Fashion</figcaption>
</figure>
    
asked by anonymous 02.03.2018 / 14:06

2 answers

3

I noticed that your tag is written scr:

The correct one is src:

    
02.03.2018 / 14:26
-1

Enter your browser's Console and go to the Network tab, reload the page and see if there is any loading error.

If there is, check that the image link is correct.

As the friend said above, it is difficult to know only with this block of code, but it is quite likely that the image call is referencing the wrong location, perhaps for the simple fact that it does not have a slash before and the browser uses the path to call the image.

If you put one / it will start from the root to the path of the image:

    <img scr="/img/centro-distribuicao.png">

It's just a possibility, maybe it will not fix. If not, please provide us with some additional information.

    
02.03.2018 / 14:20