i am having a problem getting the images to show up on my web page. they just come up as boxes with some shapes in it.
the only code that i have found to call an image in html is
<img src="filename.???">. am i doing something wrong.
This is correct syntax if the img is in the same directory or folder as your page. IE:
ROOT (Folder)
index.html (File)
page2.html (File)
ANOTHER FOLD (Folder)
If your image is in the root folder with index.html and page2.html the tag is <img src="image.jpg"> If the image is in say the "Another Fold" directory it is like this <img src="ANOTHER FOLD/image.jpg">
Hope that helps. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
If you give us the link we can check!
Also you should include alternate text with images, so when your image does not display you will see this alternate tet in the "image box"
your code becomes:
<img src="dir/image1" alt="This is Image 1">
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.