-
Lost building web site
First I am very sorry about the loss of B.J. My condolences to his friends and family.
Good Morning. I am not sure I'm in the right forum title so if not, please move to the correct one. I am in the process of trying to build a web site and don't know if I am doing it right. Any advise will be appreciated. So far I have made a home page, and named it "Home Page index.html". On the home page, I have put an image. Also on the home page, I have several links to other pages, that have links to images. My concern is this, every thing works on my computer as I want it to, but will it work once I put it on the web. I have created "main" folder on the hd, named it, and have put all the "html" pages in it. Also I created a folder and named it "images" and have all of the images in it, and put it in the "main" folder. When I click a link on the home page it takes me to the linked page, but the address of that page is (without quotes) " c:\documents and settings\owner\desktop\main folder name\page name.html ". When I click an image link on that page, it directs me to the image, but the address of that image is " c:\documents and settings\owner\desktop\main folder name\images\image name.jpg" (without quotes). Should these links and addresses be directed to my computer. I have yet to find a host, or an ftp program, I am under the impression that all the work must be done at the desktop then uploaded to the host. How does a person make sure everything is good before it gets uploaded?. I am using a utility called NVU to help me with my work, but I am still unsure about the address and my links. I hope I am not being to confusing but you know how newbees are. Thank you again for any advise.
-
c:\documents and settings\owner\desktop\main folder name\page name.html ".
For now that is what the address is until it is posted on the internet or You have moved it somewhere else on you hdd(s).
-
Where I started learning html.
http://www.w3schools.com/html/
Still use it to double check things and refresh the mind.
-
You don't need a complete path (absolute path) in the links. If you have all the html files in the same folder, all you need is the file name (relative path).
Code:
<a href="index.html">Home</a>
<a href="pics.html">Pictures</a>
If you do this you won't need to change the links when you upload it to the web host. It'll work on your hard drive the same as on the internet.
The same goes for images. If you have a subfolder called images, the image file path will be:
Code:
<img src="images/filename.jpg">
(Add, height, width, alt, etc in the tag.)
-
Thanks all, I will give this stuff a try, Sparky
-
If you are looking for a good file transfer protocol program try this one. I am a webmaster and have been using it for years. www.ipswitch.com/Products/WS_FTP/
-
FTP program
I have been using this one for years and it fills the bill.
www.ipswitch.com/Products/WS_FTP/
-
Thank you, I'll give it a try