Identificarse | Registrarse | FAQ
Anonymous

image

+ Publicar una respuesta

4 mensajes Página 1 de 1


image

por danny » Mar Oct 19, 2010 5:13 pm

how do i insert an image on the web page coz all i can see every time i do it is a red cros
Avatar de Usuario

danny

  • Mensajes: 1
  • Registrado: Mar Oct 19, 2010 3:57 pm

Re: image

por HTML.net » Mar Oct 19, 2010 7:05 pm

Hi danny,

Try this code:

<img src="logo.png" />

Where "logo.png" is the name of your image. And place the image in the same folder as the html-file. It should work... Otherwise, try to upload your code here.

- Andreas, HTML.net
Avatar de Usuario

HTML.net
Site Admin

  • Mensajes: 1194
  • Registrado: Sab Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: image

por iDana » Jue Oct 28, 2010 6:41 pm

HTML.net escribió:Hi danny,

Try this code:

<img src="logo.png" />

Where "logo.png" is the name of your image. And place the image in the same folder as the html-file. It should work... Otherwise, try to upload your code here.

- Andreas, HTML.net


This is how I finally managed to do it: first of all place the image in the same folder as what your html website and project is in then jjust type in the following code but with your file names < img src="example.jpg" alt="Example" />
Avatar de Usuario

iDana

  • Mensajes: 60
  • Registrado: Mar Oct 26, 2010 10:05 am
--
iDana

Re: image

por lacroixz » Vie Oct 29, 2010 12:31 pm

Just save all your files in your '/images' folder and use <img scr="images/file.extension"> and maybe even use an extra folder for icons like <img src="../icons/file.extension" or <img src"images/icons/file.extension">

Hope it helps!
Greetings,
Avatar de Usuario

lacroixz

  • Mensajes: 74
  • Registrado: Mié Oct 27, 2010 9:26 pm


+ Publicar una respuesta

Página 1 de 1