How to put an image on the site through link

0

Where is the error here? I would like the image to appear inside this box that I created.

/ a>

                 
asked by anonymous 18.07.2015 / 02:52

3 answers

1

I'm not sure if the box you set up had this goal But there are some errors in the code HTML that you passed by comment, unclosed tags and the image with the source in the div (?)

The correct one would be something like:

<div class="box_escudo">  <div class="escudo" ><img src="http://files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg"/> </div></div>
    
18.07.2015 / 03:04
0

You can pass a path from the server directories to the image or directly to the URL of the image, for example:

Path in HD:

<img src="C:/imagem.jpeg" alt="imagem" />

Internet URL:

<img src="http://www.w3schools.com/tags/smiley.gif"alt="Smiley" />
    
18.07.2015 / 03:02
0

Resolved ... When I created the box in css, I left it blank, and the correct one was to put the link there.

.escudo
        { width:128px; height:128px; background: url("http://files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg") center no-repeat;}
    
18.07.2015 / 03:12