How to place an image on the website via link

Asked

Viewed 104 times

0

  • What appears on the console?

  • Sorry, console where? The code wouldn’t be that <div class="box_escudo" </div> <div class=""shield" files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg" </div>

3 answers

1

I’m not sure the box you set up had that goal But there are some errors in the code HTML that you went through comment, unopened tags and the source image in div(?)

The right would be something like:

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

0

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

Way in the HD:

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

URL of the internet:

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

0

Solved... When I created the css box, I left it blank, and the correct thing 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;}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.