Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


HTML Code filter_list
Author
Message
HTML Code #1
Hey guys this is some very simple code in HTML for a class in school and i cant find what is wrong with it. Here is what you need to know: I am trying to make it have pictures from a local folder. The directory looks like this: Assignment/Assignment/index.htm
AND Images/atom,star,sun,world.
Here is the code:

Code:
<blockquote>

Love from whom the world

<img src="/Images/world.jpeg" align=top>begun,<br>

Hath the secret of the sun.

<img src="/Images/sun.jpeg" alt="Sun" align="top"><br>

Love can tell, and love alone, When the million stars

<img src="/Images/star.jpeg" alt="Star" align="middle"> were strewn,<br>

Why each atom <img src="/Images/atom.jpeg" alt="Atom" align="bottom">

Knows its own <br>

..Robert Bridges

</blockquote>

The pictures dont show up. Help? Smile

Reply

RE: HTML Code #2
remove the first slash from the images

it should just be ="Images/world.jpeg"

Reply

RE: HTML Code #3
(01-25-2013, 02:54 AM)Geoff Wrote: remove the first slash from the images

it should just be ="Images/world.jpeg"

Thank you, but this also did not work.

Reply

RE: HTML Code #4
then you should make sure there are not any other issues like file name/extension is correct, file permissions, etc. and the dir is correct. it should be

Assignment/index.htm
Assignment/Images/world.jpeg

oh and might be personal, but i hate directory names with capitals. imo it should always be lower case lol

Reply

RE: HTML Code #5
I doubt you have a ".jpeg" JPEG, probably it's ".jpg"
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: HTML Code #6
(01-25-2013, 06:13 AM)Coder-san Wrote: I doubt you have a ".jpeg" JPEG, probably it's ".jpg"

It is actually a Jpeg. I honestly don't see a problem. they are just not found.

Reply

RE: HTML Code #7
wanna zip your entire working directory and email it to me ? ill give it a complete lookover/test for ya. the code you have here is fine.

Reply

RE: HTML Code #8
Oh, wait. I fixed it. thank you guys a ton! Biggrin

Reply

RE: HTML Code #9
not gonna post what the problem was? lol

Reply

RE: HTML Code #10
place the images on the desktop/root folder and then simply give the name of the image. like sun.jpeg

Reply







Users browsing this thread: 2 Guest(s)