General advice needed

liunx

Guest
Hi everybody,<br />
<br />
My name's Steven and I am new here. I have just started a part time course on Website Design at my local college, and so far, it is going well. The course is all based around html. Our tutor has incouraged us to continue the work we do in class at home, but I have a small problem.<br />
<br />
At the college, I have my own username and password for computer access, therefore I have my own personal work area. It all saves under the F drive, which I do not have. So, I was wondering, where is the best place on my computer to create a new folder for html pages etc?<br />
<br />
I can use the college computers to continue my work, but sometimes it is inconvenient.<br />
<br />
Any advice would be great, thanks.<br />
<br />
Steven.<!--content-->Welcome aboard!<br />
<br />
It's pretty much preference. However, do keep all of your folders/files in a hierarchal style.<br />
<br />
This is how my site folder are on my machine:<br />
<br />
Desktop>My Documents>My Sites>Site Name>Site Files<br />
<br />
Everyone has their own way of catalogging though.<br />
<br />
Also, in reference to F:Drive you mentioned, we had removable hard drives that we took to school and just slid them in the front bays, so it didn't matter what "Drive" it was on either machine.<br />
<br />
Goodluck,<br />
Gandalf<br />
:D<!--content-->Hi there Steven_g,<br />
So, I was wondering, where is the best place on my computer to create a new folder for html pages etc?Well, that depends...<br />
If I was not very keen on the course I would choose an address something like this...<br />
C:\WINDOWS\system32\Microsoft\Protect\S-1-5-18\User<br />
and If I found it irresistible, like this...<br />
START/DOCUMENTS :D<br />
<br />
c:cool::cool:thead<!--content-->Thanks for your replys guys.<br />
<br />
I have set up a folder in my documents called "website design". Inside the document I have made some pages, one being index.htm and textpage.htm<br />
<br />
On the index.htm page, I want to put a link on it for the textpage.htm Do I do it like this?<br />
<br />
<A href=http://www.htmlforums.com/archive/index.php/"textpage.htm"><br />
<br />
Thanks,<br />
<br />
Steve<!--content-->Hi there Steven_g,<br />
<br />
It would be good practice to make your pages in this form<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><br />
<html><br />
<head><br />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><br />
<meta content="mshtml 6.00.2800.1226" name="generator"><br />
<title>Index page</title><br />
<style type="text/css"><br />
</style><br />
<script type="text/javascript"><br />
</script><br />
</head> <br />
<body><br />
<div><br />
<a href=http://www.htmlforums.com/archive/index.php/"textpage.htm">textpage.htm</a><br />
</div><br />
</body><br />
</html><br />
coothead<!--content-->That would work as long as 'textpage.htm' is in the same folder. <br />
You could write 'c:My Documents/website design/textpage.htm', but on upload to a server, that would create problems, as the 'href' is referring to your local 'c' drive. The 'href' has to point out the absolute filepath to the referred document; in your case, it's understood to be in the same folder.<!--content-->Hi, Steven! Welcome to the zoo!<br />
<br />
Coothead has the right idea, but you might have better luck starting your pages out with this doctype:<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br />
<br />
Strict html can be a royal pain, especially when you're just learning. <br />
<br />
However...<br />
<br />
You've got the right idea for the links, yes, but if you're going to be putting them on a website, "anything" drive isn't going to work for an address. None of my drives are alphabetized. *g* I use a Mac.<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"textpage.htm">Text Page</a> will work if the page is on the same'level' as the index page. However, if you create a folder strictly for your schoolwork (for example), that link won't work from your homework pages. You'd need to use <a href=http://www.htmlforums.com/archive/index.php/"../textpage.htm"> in order for the proper page to be found.<br />
<br />
The ../ tells the browser to go back up to the top level of all folders and find the page. Being that I'm your basic lazy and hate trying to remember what's where, I tend to write all my links as "../page.htm" or "../folder/page.htm", depending on whether the page is in a folder or not. If I remember correctly, only the 'index.htm' page should be at the very top of the folders. <br />
<br />
Oh, and just one other thing. You can't tell or control what browser/computer/platform visitors to your site will have. Keep to the 8.3 filenames and use all lowercase letters and/or the "_". There are some computers that don't like seeing a long filename shortened with the ~ and there are some of the freebie hosts that don't like uppercase letters in the filenames. <br />
<br />
Other than that, sounds like you're doing okay. Feel free to drop in and ask whatever questions. Or, if you'd rather, you can PM me or any of the moderators and we'll be glad to help. *g* Just remember that we won't do the work for you.<br />
<br />
Peg<!--content-->Don't put spaces in filenames. that causes a right mess too!<br />
<br />
<br />
<br />
Directory structure:<br />
<br />
C:\My Documents\WebSites\SiteName\DatedVersion\files.html<br />
<br />
<br />
<br />
SiteName is a short name or abbreviation for which site is stored in this folder and subfolders.<br />
<br />
DatedVersion has the folder named by using the date that that version of the site was done. The dates are 8 digits long, in YYYYMMDD format and so naturally sort into date order when alphabetical sorting is used too.<!--content-->
 
Back
Top