hello upnorthdecals
placing your files is up to you to a point, but the public_html folder is where you place all of your url related files, your website, images and such that you want peopel to access using their browser.
/home/yourusername/public_html/index.html
The index.html file will be your homepage when you go to
yourdomain.com
yourdomain.com/index.html
yourdomain.com/
your images can also go directly into this same public_html folder or you can create a directory/s to store your images
/home/yourusername/public_html/image.gif
accessible via
yourdomain.com/image.gif
/home/yourusername/public_html/pics/image.gif
would be
yourdomain.com/pics/image.gif
this is an example of html for <img> as a hyperlink <a><img /></a>
HTML Code:
<a href="http://4allofus.com" title="visit the 4ALLofUS Home Page" target="_parent"><img src="http://4allofus.com/images/4allofus-logo.gif" alt="4ALLofUS Logo" border="0"></a>
<a href="http://4allofus.com"
This is the url for the hyperlink
title="visit the 4ALLofUS Home Page"
the title displayed when hovering with the mouse
target="_parent"
opens in the same page
The image
<img src="http://4allofus.com/images/4allofus-logo.gif"
the url of the image that is stored on our server
/home/allofus/public_html/images/4allofus-logo.gif
alt="4ALLofUS Logo"
the text displayed if the image does not load
border="0"
because this image is being used as our page header and a hyperlink this prevents the hyperlink blue border from displaying around the image.
The title and alt tags are also used by blind / text to talk software as well as search engines to determine more info about the link / image and also make the code wc3 (internet standards / browser) compliant.
If you have any more questions feel free to PM me;
MattG - britishnproud
Edit:
oh and yes, you can only have 1 file of 1 name in any given directory. If you replace the file the link need not be altered.
You can have
1.gif
/folder/1.gif
/anotherfolder/1.gif
/yetanotherfolder/1.gif
yourdomain.com/1.gif
yourdomain.com/folder/1.gif
yourdomain.com/anotherfolder/1.gif
yourdomain.com/yetanotherfolder/1.gif