Login | Register | FAQ
Anonymous

image

+ Post a reply

4 posts Page 1 of 1


image

by danny » Tue 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
User avatar

danny

  • Posts: 1
  • Joined: Tue Oct 19, 2010 3:57 pm

Re: image

by HTML.net » Tue 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
User avatar

HTML.net
Site Admin

  • Posts: 1194
  • Joined: Sat 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

by iDana » Thu Oct 28, 2010 6:41 pm

HTML.net wrote: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" />
User avatar

iDana

  • Posts: 60
  • Joined: Tue Oct 26, 2010 10:05 am
--
iDana

Re: image

by lacroixz » Fri 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,
User avatar

lacroixz

  • Posts: 74
  • Joined: Wed Oct 27, 2010 9:26 pm


+ Post a reply

Page 1 of 1