Zaloguj | Zarejestruj | FAQ
Anonymous

image

+ Odpowiedz

Posty: 4 Strona 1 z 1


image

przez danny » Wt paź 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 użytkownika

danny

  • Posty: 1
  • Dołączył(a): Wt paź 19, 2010 3:57 pm

Re: image

przez HTML.net » Wt paź 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 użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 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

przez iDana » Cz paź 28, 2010 6:41 pm

HTML.net napisał(a):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 użytkownika

iDana

  • Posty: 60
  • Dołączył(a): Wt paź 26, 2010 10:05 am
--
iDana

Re: image

przez lacroixz » Pt paź 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 użytkownika

lacroixz

  • Posty: 74
  • Dołączył(a): Śr paź 27, 2010 9:26 pm


+ Odpowiedz

Strona 1 z 1